aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-18 14:26:23 -0800
committerfriendica <info@friendica.com>2014-02-18 14:26:23 -0800
commit9a51f8ce650d295e7bc2322b9f2f10b340d8e076 (patch)
treeaa65550db277c60a8b8355383ee76ce9e44252cf /view/tpl
parent0b4aa5a39c6cef862b4fbcbc71771f4931a4bc68 (diff)
downloadvolse-hubzilla-9a51f8ce650d295e7bc2322b9f2f10b340d8e076.tar.gz
volse-hubzilla-9a51f8ce650d295e7bc2322b9f2f10b340d8e076.tar.bz2
volse-hubzilla-9a51f8ce650d295e7bc2322b9f2f10b340d8e076.zip
edit bookmarks
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/mitemlist.tpl5
-rw-r--r--view/tpl/usermenu.tpl3
2 files changed, 6 insertions, 2 deletions
diff --git a/view/tpl/mitemlist.tpl b/view/tpl/mitemlist.tpl
index 057665d49..421b610f1 100644
--- a/view/tpl/mitemlist.tpl
+++ b/view/tpl/mitemlist.tpl
@@ -5,11 +5,12 @@
<a href="mitem/{{$menu_id}}/new" title="{{$hintnew}}">{{$hintnew}}</a>
<br />
+<br />
{{if $mlist }}
-<ul id="mitemlist">
+<ul id="mitemlist" class="menu-item-list">
{{foreach $mlist as $m }}
-<li><a href="mitem/{{$menu_id}}/{{$m.mitem_id}}" title="{{$hintedit}}">{{$edit}}</a> | <a href="mitem/{{$menu_id}}/{{$m.mitem_id}}/drop" title={{$hintdrop}}>{{$drop}}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mitem/{{$menu_id}}/{{$m.mitem_id}}" title="{{$hintcontent}}">{{$m.mitem_desc}}</a> ({{$m.mitem_link}})</li>
+<li><a href="mitem/{{$menu_id}}/{{$m.mitem_id}}" title="{{$hintedit}}"><i class="icon-pencil mitem-edit"></i></a><a href="mitem/{{$menu_id}}/{{$m.mitem_id}}/drop" title={{$hintdrop}}><i class="icon-remove"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mitem/{{$menu_id}}/{{$m.mitem_id}}" title="{{$hintcontent}}">{{$m.mitem_desc}}</a> ({{$m.mitem_link}})</li>
{{/foreach}}
</ul>
{{/if}}
diff --git a/view/tpl/usermenu.tpl b/view/tpl/usermenu.tpl
index 3904f4696..80e160fdf 100644
--- a/view/tpl/usermenu.tpl
+++ b/view/tpl/usermenu.tpl
@@ -2,6 +2,9 @@
{{if $menu.menu_desc}}
<h3 class="pmenu-title">{{$menu.menu_desc}}</h3>
{{/if}}
+{{if $edit}}
+<a href="mitem/{{$menu.menu_id}}" title="{{$edit}}"><i class="icon-pencil fakelink" title="{{$edit}}"></i></a>
+{{/if}}
{{if $items }}
<ul class="pmenu-body">
{{foreach $items as $mitem }}