]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/widget/group_list.tpl
Fix date time format calculation
[friendica.git] / view / templates / widget / group_list.tpl
index fd71a8e9dc12ff925b3450035701c2d60ce6dd3c..c939d074ae4ec1242b95c6fbedb755b2cff848dc 100644 (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');