<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{genericattributes.manageEntryType.title}'> <@tform method='post' type='inline'> <@formGroup labelFor='search_entrytype' labelKey='#i18n{portal.system.manage_plugins.buttonFilter}' hideLabel=['all'] formStyle='inline'> <@inputGroup> <@input type='text' name='search_entrytype' id='search_entrytype' placeHolder='#i18n{portal.system.manage_plugins.buttonFilter}' params='autocomplete="off" addons' /> <@button color='primary' title='#i18n{portal.system.manage_plugins.buttonFilter}' buttonIcon='filter' hideTitle=['all'] /> <@messages infos=infos errors=errors /> <@manageFeature> <#list entryTypeList as entry_type> <@manageFeatureItem class='item-labels'> <#if entry_type.inactive><#assign entryTypeClass = "text-muted"> <#else><#assign entryTypeClass = ""> <#-- <@manageFeatureItemColumn>${entry_type.order} --> <@manageFeatureItemColumn class='searchable ${entryTypeClass!}'><@icon style='${entry_type.iconName!\'\'}' class='me-2' /> ${entry_type.title} <#if entry_type.derived> #i18n{genericattributes.manageEntryType.labelDerivedFrom} : ${(entryTypeTitles[entry_type.idTypeParent?c]!'')?html} <@manageFeatureItemColumn> <@span class=entry_type.inactive?string('bg-danger text-danger-fg py-1 px-2 rounded','bg-success text-success-fg py-1 px-2 rounded')> #i18n{genericattributes.manageEntryType.columnActive.title} : ${entry_type.inactive?string('#i18n{portal.util.labelNo}','#i18n{portal.util.labelYes}')} <#if entry_type.inactive><@icon style='ban' class='ms-2' /><#else> <@icon style='circle-check' class='ms-2' /> <@manageFeatureItemColumn align='end'> <@offcanvas targetUrl="jsp/admin/plugins/genericattributes/ManageEntryType.jsp?view=editEntryType&id_type=${entry_type.idType}" useIframe=true targetElement="#edit_entrytype_page" id="entrytype-${entry_type.idType}-edit" title="#i18n{genericattributes.manageEntryType.title}" btnTitle="#i18n{portal.util.labelModify} " btnIcon="edit" position="end" /> <#if regexSupportedTypes?seq_contains(entry_type.idType)> <@aButton href='jsp/admin/plugins/genericattributes/ManageEntryType.jsp?view=createEntryType&id_type=${entry_type.idType}' hideTitle=['all'] buttonIcon='copy-plus' color='primary' class='me-2' title='#i18n{genericattributes.manageEntryType.action.derive}' /> <#if entry_type.derived> <@aButton href='jsp/admin/plugins/genericattributes/ManageEntryType.jsp?view=confirmRemoveEntryType&id_type=${entry_type.idType}' hideTitle=['all'] buttonIcon='trash' color='danger' class='me-2' title='#i18n{genericattributes.manageEntryType.action.remove}' /> <#if entry_type.inactive> <@tform action='jsp/admin/plugins/genericattributes/ManageEntryType.jsp' method='post' class='d-inline'><@input type='hidden' name='action' value='doChangeActive' /><@input type='hidden' name='id_type' value='${entry_type.idType}' /><@button type='submit' hideTitle=['xs','sm'] buttonIcon='play' color='success' class='me-2' title='#i18n{genericattributes.manageEntryType.action.enable}' /> <#else> <@tform action='jsp/admin/plugins/genericattributes/ManageEntryType.jsp' method='post' class='d-inline'><@input type='hidden' name='action' value='doChangeActive' /><@input type='hidden' name='id_type' value='${entry_type.idType}' /><@button type='submit' hideTitle=['xs','sm'] buttonIcon='stop' color='danger' class='me-2' title='#i18n{genericattributes.manageEntryType.action.disable}' /> <#if entryTypeList?size gt 1> <#if entry_type.order gt 1> <@tform action='jsp/admin/plugins/genericattributes/ManageEntryType.jsp' method='post' class='d-inline'><@input type='hidden' name='action' value='doMoveUp' /><@input type='hidden' name='id_type' value='${entry_type.idType}' /><@button type='submit' title='#i18n{genericattributes.manageEntryType.action.moveUp}' hideTitle=['all'] buttonIcon='chevron-up' /> <#if entry_type.order lt entryTypeList?size> <@tform action='jsp/admin/plugins/genericattributes/ManageEntryType.jsp' method='post' class='d-inline'><@input type='hidden' name='action' value='doMoveDown' /><@input type='hidden' name='id_type' value='${entry_type.idType}' /><@button type='submit' title='#i18n{genericattributes.manageEntryType.action.moveDown}' hideTitle=['all'] buttonIcon='chevron-down' />