aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menulist.tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-04-07 08:43:39 +1000
committerredmatrix <redmatrix@redmatrix.me>2015-04-07 08:43:39 +1000
commite7b2e315102fa1e94a0f965cc7de88ea217c8783 (patch)
tree70b345d0055cde9dfaa35ca24de5316000b5ee60 /view/tpl/menulist.tpl
parentf1e73abd21ac99b00038242b8a4e882e7f6dfc12 (diff)
parent754ac2cff72b0d9d5d9b389740cc8946ed1e40b2 (diff)
downloadvolse-hubzilla-e7b2e315102fa1e94a0f965cc7de88ea217c8783.tar.gz
volse-hubzilla-e7b2e315102fa1e94a0f965cc7de88ea217c8783.tar.bz2
volse-hubzilla-e7b2e315102fa1e94a0f965cc7de88ea217c8783.zip
Merge pull request #309 from dawnbreak/master
Fix Design Tool navigation for sys channel.
Diffstat (limited to 'view/tpl/menulist.tpl')
-rw-r--r--view/tpl/menulist.tpl15
1 files changed, 7 insertions, 8 deletions
diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl
index 35ad91937..679732c0f 100644
--- a/view/tpl/menulist.tpl
+++ b/view/tpl/menulist.tpl
@@ -1,17 +1,16 @@
<div class="generic-content-wrapper-styled">
-
<h1>{{$title}}</h1>
-
-<a href="menu/new" title="{{$hintnew}}">{{$hintnew}}</a>
-
-<br />
+<a href="menu/new{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintnew}}">{{$hintnew}}</a>
+<br>
{{if $menus }}
<ul id="menulist">
{{foreach $menus as $m }}
-<li><a href="menu/{{$m.menu_id}}" title="{{$hintedit}}"><i class="icon-pencil design-icons design-edit-icon btn btn-default"></i></a> <a href="menu/{{$m.menu_id}}/drop" title="{{$hintdrop}}"><i class="icon-trash drop-icons design-icons design-remove-icon btn btn-default"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;{{if $m.bookmark}}<i class="icon-bookmark" title="{{$bmark}}" ></i>&nbsp;{{/if}}<a href="mitem/{{$m.menu_id}}/new" title="{{$hintcontent}}">{{$m.menu_name}}</a></li>
+<li>
+<a href="menu/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintedit}}"><i class="icon-pencil design-icons design-edit-icon btn btn-default"></i></a>
+<a href="menu/{{$m.menu_id}}/drop{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintdrop}}"><i class="icon-trash drop-icons design-icons design-remove-icon btn btn-default"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;{{if $m.bookmark}}<i class="icon-bookmark" title="{{$bmark}}" ></i>&nbsp;{{/if}}<a href="mitem/{{$m.menu_id}}/new{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintcontent}}">{{$m.menu_name}}</a>
+</li>
{{/foreach}}
</ul>
{{/if}}
-
-</div>
+</div> \ No newline at end of file