diff options
author | Mario <mario@mariovavti.com> | 2022-01-07 20:07:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-07 20:07:09 +0000 |
commit | 7450ac1a31596ba7dade032d6a38008eb339eba2 (patch) | |
tree | 334794fbee823c68bbd63031a2389279b9ec1c29 /view/tpl/widget_menu_count.tpl | |
parent | c72e5e3b66db227e27a400044dcc0a6748d49cb5 (diff) | |
download | volse-hubzilla-7450ac1a31596ba7dade032d6a38008eb339eba2.tar.gz volse-hubzilla-7450ac1a31596ba7dade032d6a38008eb339eba2.tar.bz2 volse-hubzilla-7450ac1a31596ba7dade032d6a38008eb339eba2.zip |
missing files
Diffstat (limited to 'view/tpl/widget_menu_count.tpl')
-rw-r--r-- | view/tpl/widget_menu_count.tpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/widget_menu_count.tpl b/view/tpl/widget_menu_count.tpl new file mode 100644 index 000000000..ed70d3295 --- /dev/null +++ b/view/tpl/widget_menu_count.tpl @@ -0,0 +1,13 @@ +<div class="widget"> + <h3>{{$title}}</h3> + <ul class="nav nav-pills flex-column"> + {{foreach $menu_items as $menu_item}} + <li class="nav-item"> + <a class="nav-link {{if $menu_item.active}} active{{/if}}" href="{{$menu_item.href}}" title="{{$menu_item.title}}"> + {{$menu_item.label}} + <span class="badge bg-secondary float-end">{{$menu_item.count}}</span> + </a> + <li> + {{/foreach}} + </ul> +</div> |