diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-05-29 11:07:57 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-05-29 11:07:57 +0200 |
commit | 5f1ae2930b5ae69e142aed84f70afe5cde8cc38f (patch) | |
tree | 094117d4d7970b2cdbe20e8889e4c02badfcc508 /view | |
parent | 3a9139f76ee64b49c7902269cb3d98f6a6e20230 (diff) | |
download | volse-hubzilla-5f1ae2930b5ae69e142aed84f70afe5cde8cc38f.tar.gz volse-hubzilla-5f1ae2930b5ae69e142aed84f70afe5cde8cc38f.tar.bz2 volse-hubzilla-5f1ae2930b5ae69e142aed84f70afe5cde8cc38f.zip |
show created/edited dates for menus
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_menu.css | 15 | ||||
-rw-r--r-- | view/tpl/menulist.tpl | 8 |
2 files changed, 20 insertions, 3 deletions
diff --git a/view/css/mod_menu.css b/view/css/mod_menu.css index 930bd834d..c3edec9fe 100644 --- a/view/css/mod_menu.css +++ b/view/css/mod_menu.css @@ -2,7 +2,20 @@ width: 100%; } -#menu-list-table th:nth-child(2){ +#menu-list-table th:nth-child(2), +#menu-list-table th:nth-child(3) { + white-space: nowrap; +} + +#menu-list-table th:nth-child(6), +#menu-list-table td:nth-child(6) { + padding: 7px 3px; + white-space: nowrap; +} + +#menu-list-table th:nth-child(7), +#menu-list-table td:nth-child(7) { + padding: 7px 10px 7px 7px; white-space: nowrap; } diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl index 1d3d70757..71c2a89fb 100644 --- a/view/tpl/menulist.tpl +++ b/view/tpl/menulist.tpl @@ -14,17 +14,21 @@ <tr> <th width="1%"></th> <th width="1%">{{$nametitle}}</th> - <th width="96%">{{$desctitle}}</th> + <th width="94%">{{$desctitle}}</th> <th width="1%"></th> <th width="1%"></th> + <th width="1%" class="hidden-xs">{{$created}}</th> + <th width="1%" class="hidden-xs">{{$edited}}</th> </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="96%">{{$m.menu_desc}}</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> </tr> {{/foreach}} </table> |