<#include "../managemylutece_tabs.html" /> <@tabs2 tab="manageAttributes" /> <@row> <@columns> <@box> <@boxHeader title='#i18n{mylutece.manage_attributes.pageTitle}'> <@tform type='inline' method='post' action='jsp/admin/plugins/mylutece/attribute/CreateAttribute.jsp'> <@formGroup formStyle='inline' labelFor='attribute_type_class_name' labelKey='#i18n{mylutece.manage_attributes.addNewAttributes}'> <@inputGroup> <@select id='attribute_type_class_name' name='attribute_type_class_name' size='sm'> <#list attribute_types_list as attribute_type> <@inputGroupItem> <@button type='submit' buttonIcon='plus' title='#i18n{mylutece.manage_attributes.buttonAdd}' hideTitle=['all'] size='sm' /> <@boxBody> <@table> <@tr> <@th>#i18n{mylutece.manage_attributes.columnTitle} <@th>#i18n{mylutece.manage_attributes.columnType} <@th>#i18n{mylutece.manage_attributes.columnOriginalComponent} <@th>#i18n{mylutece.manage_attributes.columnTitleActions} <#assign cpt = 0> <#list attributes_list as attribute > <#assign cpt = cpt + 1> <@tr> <@td>${attribute.title} <@td>${attribute.attributeType.name} <@td> <#if attribute.plugin?exists && attribute.plugin.name?has_content> ${attribute.plugin.name} <#else> #i18n{mylutece.manage_attributes.labelMyLutece} <@td> <#if attribute.plugin?exists && attribute.plugin.name != ""> <#if cpt != 1> <@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveUpAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveUp}' hideTitle=['all'] buttonIcon='arrow-up' size='sm' /> <#if attribute_has_next> <@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveDownAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveDown}' hideTitle=['all'] buttonIcon='arrow-down' size='sm' /> <#else> <@aButton href='jsp/admin/plugins/mylutece/attribute/ModifyAttribute.jsp?id_attribute=${attribute.idAttribute}' title='#i18n{mylutece.manage_attributes.buttonLabelModify}' hideTitle=['all'] buttonIcon='edit' size='sm' /> <#if cpt != 1> <@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveUpAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveUp}' hideTitle=['all'] buttonIcon='arrow-up' size='sm' /> <#if attribute_has_next> <@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveDownAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveDown}' hideTitle=['all'] buttonIcon='arrow-down' size='sm' /> <@aButton href='jsp/admin/plugins/mylutece/attribute/RemoveAttribute.jsp?id_attribute=${attribute.idAttribute}' title='#i18n{mylutece.manage_attributes.buttonLabelDelete}' hideTitle=['all'] buttonIcon='trash' color='danger' size='sm' />