diff --git a/layouts/vlayout/modules/Settings/LayoutEditor/Index.tpl b/layouts/vlayout/modules/Settings/LayoutEditor/Index.tpl index 75026ae4be5211de6add23fbce160bafba023bd1..dfa721903c2b554eeb4feb4d68a170b12528a3f1 100644 --- a/layouts/vlayout/modules/Settings/LayoutEditor/Index.tpl +++ b/layouts/vlayout/modules/Settings/LayoutEditor/Index.tpl @@ -59,7 +59,7 @@ <div id="block_{$BLOCK_ID}" class="editFieldsTable block_{$BLOCK_ID} marginBottom10px border1px {if $IS_BLOCK_SORTABLE} blockSortable{/if}" data-block-id="{$BLOCK_ID}" data-sequence="{$BLOCK_MODEL->get('sequence')}" style="border-radius: 4px 4px 0px 0px;background: white;"> <div class="row-fluid layoutBlockHeader"> <div class="blockLabel span5 padding10 marginLeftZero"> - <img class="alignMiddle" src="{vimage_path('drag.png')}" /> + {if $IS_BLOCK_SORTABLE}<img class="alignMiddle" src="{vimage_path('drag.png')}" /> {/if} <strong>{vtranslate($BLOCK_LABEL_KEY, $SELECTED_MODULE_NAME)}</strong> </div> <div class="span6 marginLeftZero" style="float:right !important;"><div class="pull-right btn-toolbar blockActions" style="margin: 4px;"> @@ -96,8 +96,8 @@ </div> </div> </div> - <div class="blockFieldsList {if $SELECTED_MODULE_MODEL->isFieldsSortableAllowed($BLOCK_LABEL_KEY)}blockFieldsSortable {/if} row-fluid" style="padding:5px;min-height: 27px"> - <ul name="sortable1" class="connectedSortable span6" style="list-style-type: none; float: left;min-height: 1px;padding:2px;"> + <div class="blockFieldsList blockFieldsSortable row-fluid" style="padding:5px;min-height: 27px"> + <ul name=" {if $SELECTED_MODULE_MODEL->isFieldsSortableAllowed($BLOCK_LABEL_KEY)}sortable1{/if}" class="connectedSortable span6" style="list-style-type: none; float: left;min-height: 1px;padding:2px;"> {foreach item=FIELD_MODEL from=$FIELDS_LIST name=fieldlist} {assign var=FIELD_INFO value=$FIELD_MODEL->getFieldInfo()} {if $smarty.foreach.fieldlist.index % 2 eq 0}