<@tabPanel id='autoincludes'> <@pageHeader title="#i18n{portal.templates.manage_autoincludes.pageTitle}" /> <#assign defaultThemeName='' > <#list commons_list as item> <#if current_commons="${item.code}"> <#assign defaultThemeName=item.name > <#break> <@messages infos=infos /> <@row> <@columns sm=12 md=8 lg=6> <@box class='mt-3'> <@boxHeader title='#i18n{portal.templates.manage_autoincludes.commonsChange}' /> <@boxBody> <@tform method='post' name='FilterPluginsForm' action='jsp/admin/templates/ManageAutoIncludes.jsp'> <@input type='hidden' name='action' value='activate' /> <@formGroup labelKey='#i18n{portal.templates.manage_autoincludes.commonsAvailable}' labelFor='commons_key' class='has-addons' rows=2> <@select sort=true name='commons_key' default_value='${current_commons}' items=commons_list params='addons' size='' /> <@formGroup class='d-flex justify-content-center'> <@button type='submit' color='primary' buttonIcon='check' title='#i18n{portal.templates.manage_autoincludes.buttonSwitch}' size='' /> <#assign currentTitle = '' /> <#list commons_list as item> <#if current_commons=item.code> <#assign currentTitle = item.name /> <#break> <@box> <@boxHeader title='#i18n{portal.templates.manage_autoincludes.title}' /> <@boxBody>

#i18n{portal.templates.manage_autoincludes.columnFilePath}

<@listGroup> <#list autoinclude_list?filter( autoinclude -> autoinclude.owner?? && defaultThemeName=autoinclude.owner ) as autoinclude > <@listGroupItem class='d-flex justify-content-between align-items-center text-truncate text-primary'> ${autoinclude.filePath} <#if autoinclude.owner?? && defaultThemeName=autoinclude.owner >

#i18n{portal.templates.manage_autoincludes.otherFilePath}

<@listGroup> <#list autoinclude_list?filter( autoinclude -> !(autoinclude.owner?? && defaultThemeName=autoinclude.owner) ) as autoinclude > <@listGroupItem class='d-flex justify-content-between align-items-center text-truncate'> ${autoinclude.filePath} <#if autoinclude.owner?? && defaultThemeName=autoinclude.owner > <@columns sm=12 md=4 lg=6> <#assign preview><@commonsPreview /> <#assign boxTitle>#i18n{portal.templates.manage_autoincludes.commonsInfos}
<@span class='text-primary'>${currentTitle} <@box class='mt-3'> <@boxHeader title=boxTitle /> <@boxBody> <@p>#i18n{portal.templates.manage_autoincludes.commonsName} :
<@commonsName /> <@p>#i18n{portal.templates.manage_autoincludes.commonsFile}
<@commonsFile /> <@p>#i18n{portal.templates.manage_autoincludes.commonsDescription}
<@commonsDescription/> <@div class='shadow-lg p-3 mt-3 mb-5 bg-body-tertiary rounded'> <@img url='${preview?lower_case}' alt='Preview of theme' class='img-fluid' />