aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/blocklist.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-22 10:31:36 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-22 10:31:36 +0200
commitb4dff3a9ff16811ea0310f5dbf4d7559c97835b0 (patch)
tree420f90afab7724b60128e2e8df5233b17e3a4a05 /view/tpl/blocklist.tpl
parente807231e9192ff43ff2ee4ec96260dbb44a25cd2 (diff)
downloadvolse-hubzilla-b4dff3a9ff16811ea0310f5dbf4d7559c97835b0.tar.gz
volse-hubzilla-b4dff3a9ff16811ea0310f5dbf4d7559c97835b0.tar.bz2
volse-hubzilla-b4dff3a9ff16811ea0310f5dbf4d7559c97835b0.zip
provide headings for blocks and layouts
Diffstat (limited to 'view/tpl/blocklist.tpl')
-rw-r--r--view/tpl/blocklist.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/tpl/blocklist.tpl b/view/tpl/blocklist.tpl
index 4068375cb..a8cb29b35 100644
--- a/view/tpl/blocklist.tpl
+++ b/view/tpl/blocklist.tpl
@@ -1,3 +1,17 @@
+<div class="section-title-wrapper">
+ {{if $editor}}
+ <div class="pull-right">
+ <button id="webpage-create-btn" class="btn btn-xs btn-success" onclick="openClose('block-editor');"><i class="icon-edit"></i>&nbsp;{{$create}}</button>
+ </div>
+ {{/if}}
+ <h2>{{$title}}</h2>
+ <div class="clear"></div>
+</div>
+{{if $editor}}
+<div id="block-editor" class="section-content-tools-wrapper">
+ {{$editor}}
+</div>
+{{/if}}
{{if $pages}}
<div id="pagelist-content-wrapper" class="generic-content-wrapper">