]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/group_side.tpl
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / theme / quattro / templates / group_side.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <div id="group-sidebar" class="widget">
7         <div class="title tool">
8                 <h3 class="label">{{$title}}</h3>
9                 <a href="group/new" title="{{$createtext}}" class="action"><span class="icon text s16 add"> {{$add}}</span></a>
10         </div>
11
12         <div id="sidebar-group-list">
13                 <ul>
14                         {{foreach $groups as $group}}
15                         <li class="tool  {{if $group.selected}}selected{{/if}}">
16                                 <a href="{{$group.href}}" class="label">
17                                         {{$group.text}}
18                                 </a>
19                                 {{if $group.edit}}
20                                         <a href="{{$group.edit.href}}" class="action"><span class="icon text s10 edit">{{$group.edit.title}}</span></a>
21                                 {{/if}}
22                                 {{if $group.cid}}
23                                         <input type="checkbox" 
24                                                 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
25                                                 onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
26                                                 {{if $group.ismember}}checked="checked"{{/if}}
27                                         />
28                                 {{/if}}
29                         </li>
30                         {{/foreach}}
31                 </ul>
32         </div>
33 </div>  
34