Initial Upload
This commit is contained in:
27
views/layout-page-grid-widgetlist.twig
Normal file
27
views/layout-page-grid-widgetlist.twig
Normal file
@@ -0,0 +1,27 @@
|
||||
{% for region in regions %}
|
||||
{{ region.name }} - {{ region.width }} x {{ region.height }} [{{ region.top }},{{ region.left }}]
|
||||
<p>{% trans "Widgets that have been Published will be displayed below" %}</p>
|
||||
{% if (region.regionPlaylist.widgets|length > 0) %}
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<th>{% trans "Playlist" %}</th>
|
||||
<th>{% trans "Name" %}</th>
|
||||
<th>{% trans "Type" %}</th>
|
||||
<th>{% trans "Duration" %}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for widget in region.regionPlaylist.widgets|slice(0, 10) %}
|
||||
<tr>
|
||||
<td>{{ region.regionPlaylist.name }}</td>
|
||||
<td>{{ widget.name }}</td>
|
||||
<td>{{ widget.moduleName }}</td>
|
||||
<td>{{ widget.calculatedDuration }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% if (region.regionPlaylist.widgets|length > 10) %}
|
||||
<p>{% trans "This Playlist has more than 10 widgets. The first ten widgets are shown as they appear" %}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user