aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menulist.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-05-29 13:08:01 +0200
committerMario Vavti <mario@mariovavti.com>2015-05-29 13:08:01 +0200
commitb8d328076384ff48be47f59366aea8b1e1cc04a1 (patch)
tree81f0c9ac22a7ca48bf6aa6ccde8c738d5620caa3 /view/tpl/menulist.tpl
parent5f1ae2930b5ae69e142aed84f70afe5cde8cc38f (diff)
downloadvolse-hubzilla-b8d328076384ff48be47f59366aea8b1e1cc04a1.tar.gz
volse-hubzilla-b8d328076384ff48be47f59366aea8b1e1cc04a1.tar.bz2
volse-hubzilla-b8d328076384ff48be47f59366aea8b1e1cc04a1.zip
some fixes to make menu sharing work and expose it in the ui.
Diffstat (limited to 'view/tpl/menulist.tpl')
-rw-r--r--view/tpl/menulist.tpl18
1 files changed, 10 insertions, 8 deletions
diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl
index 71c2a89fb..888dc6e6d 100644
--- a/view/tpl/menulist.tpl
+++ b/view/tpl/menulist.tpl
@@ -14,7 +14,8 @@
<tr>
<th width="1%"></th>
<th width="1%">{{$nametitle}}</th>
- <th width="94%">{{$desctitle}}</th>
+ <th width="93%">{{$desctitle}}</th>
+ <th width="1%"></th>
<th width="1%"></th>
<th width="1%"></th>
<th width="1%" class="hidden-xs">{{$created}}</th>
@@ -22,13 +23,14 @@
</tr>
{{foreach $menus as $m }}
<tr id="menu-list-item-{{$m.menu_id}}">
- <td width="1%">{{if $m.bookmark}}<i class="icon-bookmark menu-list-tool" title="{{$bmark}}" ></i>{{/if}}</td>
- <td width="1%"><a href="mitem/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintcontent}}">{{$m.menu_name}}</a></td>
- <td width="94%">{{$m.menu_desc}}</td>
- <td width="1%" class="menu-list-tool"><a href="menu/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintedit}}"><i class="icon-pencil"></i></a></td>
- <td width="1%" class="menu-list-tool"><a href="#" title="{{$hintdrop}}" onclick="dropItem('menu/{{$m.menu_id}}/drop{{if $sys}}?f=&sys=1{{/if}}', '#menu-list-item-{{$m.menu_id}}'); return false;"><i class="icon-trash drop-icons"></i></a></td>
- <td width="1%" class="hidden-xs">{{$m.menu_created}}</td>
- <td width="1%" class="hidden-xs">{{$m.menu_edited}}</td>
+ <td>{{if $m.bookmark}}<i class="icon-bookmark menu-list-tool" title="{{$bmark}}" ></i>{{/if}}</td>
+ <td><a href="mitem/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintcontent}}">{{$m.menu_name}}</a></td>
+ <td>{{$m.menu_desc}}</td>
+ <td class="menu-list-tool"><a href="menu/{{$m.menu_id}}{{if $sys}}?f=&sys=1{{/if}}" title="{{$hintedit}}"><i class="icon-pencil"></i></a></td>
+ <td class="menu-list-tool"><a href="rpost?attachment={{$m.element}}" title="{{$share}}"><i class="icon-share"></i></a></td>
+ <td class="menu-list-tool"><a href="#" title="{{$hintdrop}}" onclick="dropItem('menu/{{$m.menu_id}}/drop{{if $sys}}?f=&sys=1{{/if}}', '#menu-list-item-{{$m.menu_id}}'); return false;"><i class="icon-trash drop-icons"></i></a></td>
+ <td class="hidden-xs">{{$m.menu_created}}</td>
+ <td class="hidden-xs">{{$m.menu_edited}}</td>
</tr>
{{/foreach}}
</table>