]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/group_side.tpl
Add user language in settings, use that field as language for UI
[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}}">
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                         </li>
25                         {{/foreach}}
26                 </ul>
27         </div>
28 </div>  
29