1
0
Fork 0

New group button

This commit is contained in:
anubis2814 2023-06-04 22:04:32 -04:00 committed by Hypolite Petovan
commit a7cce4013c
5 changed files with 30 additions and 12 deletions

View file

@ -16,9 +16,16 @@ function showHideGroupList() {
<h3>{{$title}}</h3>
</span>
<div id="group-list-sidebar" class="widget">
<div id="sidebar-group-header" class="sidebar-widget-header">
<span class="fakelink" onclick="openCloseWidget('group-list-sidebar', 'group-list-sidebar-inflated');">
<h3 id="group-list">{{$title}}</h3>
<h3>{{$title}}</h3>
</span>
<a class="group-new-tool pull-right widget-action faded-icon" id="sidebar-new-group" href="{{$New_group_page}}" data-toggle="tooltip" title="{{$create_new_group}}">
<i class="fa fa-plus" aria-hidden="true"></i>
</a>
</div>
<div id="sidebar-group-list" class="sidebar-widget-list">
{{* The list of available groups *}}
<ul id="group-list-sidebar-ul" role="menu">
{{foreach $groups as $group}}
{{if $group.id <= $visible_groups}}
@ -47,6 +54,7 @@ function showHideGroupList() {
{{/if}}
</ul>
</div>
</div>
</span>
<script>
initWidget('group-list-sidebar', 'group-list-sidebar-inflated');