{* Set the default translation domain, that will be used by intl when the 'd' parameter is not set *} {default_translation_domain domain='bo.default'}
{ifloop rel="free_features"}
{intl l='Select a feature and click (+) to add it to this template'} {/ifloop} {elseloop rel="free_features"}
{intl l="There is currently no available features."}
{/elseloop}

{intl l='ID'} | {intl l='Feature title'} | {intl l='Position'} {hook name="template.features-table-header" location="template_features_table_header" } | {intl l="Actions"}
--- | --- | --- | ---
{loop name="assigned_features" type="feature" template="$template_id" backend_context="1" lang="$edit_language_id"}
{$ID} | {$TITLE} | {admin_position_block resource="admin.configuration.template" access="UPDATE" path={url path="/admin/template/update-feature-position" template_id=$template_id} url_parameter="feature_id" in_place_edit_class="featurePositionChange" position=$POSITION id=$ID } {hook name="template.features-table-row" location="template_features_table_row" } | {loop type="auth" name="can_create" role="ADMIN" resource="admin.configuration.template" access="UPDATE"} {/loop}
{/loop} {elseloop rel="assigned_features"}
{intl l="This template contains no features"}
{/elseloop}

{* Delete value confirmation dialog *} {capture "delete_feature_dialog"} {/capture} {include file = "includes/generic-confirm-dialog.html" dialog_id = "delete_feature_dialog" dialog_title = {intl l="Remove feature"} dialog_message = {intl l="Do you really want to remove this feature from the template ? It will also be removed from the products that uses this template."} form_action = {token_url path='/admin/configuration/templates/features/delete'} form_content = {$smarty.capture.delete_feature_dialog nofilter} }