Corrected layout template
authorThierry Florac <tflorac@ulthar.net>
Wed, 12 Dec 2018 16:17:21 +0100
changeset 235 01ab285b332b
parent 234 7c42bb495d5e
child 236 e741863c2af4
Corrected layout template
src/pyams_portal/zmi/templates/layout.pt
--- a/src/pyams_portal/zmi/templates/layout.pt	Mon Dec 10 15:50:56 2018 +0100
+++ b/src/pyams_portal/zmi/templates/layout.pt	Wed Dec 12 16:17:21 2018 +0100
@@ -87,12 +87,11 @@
 							 data-ams-sortable-over="PyAMS_portal.template.overSlots"
 							 data-ams-sortable-stop="PyAMS_portal.template.sortSlots">
 							<div tal:repeat="slot_name template_config.get_slots(row)"
-								 class="slot context-menu col col-md-12 no-padding"
+								 class="slot context-menu no-padding col ${template_config.get_slot_configuration(slot_name).get_css_class()}"
 								 data-ams-contextmenu-selector="#slotMenu"
 								 data-ams-resizable-start="PyAMS_portal.template.startSlotResize"
 								 data-ams-resizable-stop="PyAMS_portal.template.stopSlotResize"
 								 data-ams-resizable-handles="e"
-								 class="slot context-menu col ${template_config.get_slot_configuration(slot_name).get_css_class()}"
 								 data-ams-slot-name="${slot_name}">
 								<div class="header padding-x-5">
 									<i class="fa fa-fw fa-minus-square pull-right padding-top-2" data-ams-click-handler="PyAMS_portal.template.switchSlot"></i>