|
|
@@ -278,12 +278,14 @@
|
|
|
<script type="text/html" id="widget-template${ suffix }">
|
|
|
<div data-bind="attr: {'id': 'wdg_'+ id(),}, css: klass, droppable: { data: function() { $root.collection.dropOnWidget(id()) }, options:{ greedy:true }}">
|
|
|
<h2 class="card-heading simple">
|
|
|
+ %if not USE_GRIDSTER.get():
|
|
|
<span data-bind="visible: $root.isEditing">
|
|
|
<a href="javascript:void(0)" class="move-widget"><i class="fa fa-arrows"></i></a>
|
|
|
<a href="javascript:void(0)" data-bind="click: compress, visible: size() > 1"><i class="fa fa-step-backward"></i></a>
|
|
|
<a href="javascript:void(0)" data-bind="click: expand, visible: size() < 12"><i class="fa fa-step-forward"></i></a>
|
|
|
|
|
|
</span>
|
|
|
+ %endif
|
|
|
<!-- ko if: $root.collection && $root.collection.getFacetById(id()) -->
|
|
|
<span data-bind="with: $root.collection.getFacetById(id())">
|
|
|
<span data-bind="editable: label, editableOptions: {enabled: $root.isEditing(), placement: 'right'}"></span>
|