]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/group_side.tpl
quattro: add unread message count per groups
[friendica.git] / view / theme / quattro / templates / group_side.tpl
1 <div id="group-sidebar" class="widget">
2         <div class="title tool">
3                 <h3 class="label">{{$title}}</h3>
4                 <a href="group/new" title="{{$createtext}}" class="action"><span class="icon text s16 add"> {{$add}}</span></a>
5         </div>
6
7         <div id="sidebar-group-list">
8                 <ul>
9                         {{foreach $groups as $group}}
10                         <li class="tool  {{if $group.selected}}selected{{/if}} group-{{$group.id}}">
11                                 <a href="{{$group.href}}" class="label">
12                                         {{$group.text}}
13                                 </a>
14                                 {{if $group.edit}}
15                                         <a href="{{$group.edit.href}}" class="action"><span class="icon text s10 edit">{{$group.edit.title}}</span></a>
16                                 {{/if}}
17                                 {{if $group.cid}}
18                                         <input type="checkbox"
19                                                 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
20                                                 onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
21                                                 {{if $group.ismember}}checked="checked"{{/if}}
22                                         />
23                                 {{/if}}
24                                 <span class="notify"></span>
25                         </li>
26                         {{/foreach}}
27                 </ul>
28         </div>
29 </div>
30