]> git.mxchange.org Git - friendica.git/blob - view/theme/decaf-mobile/templates/group_side.tpl
Merge branch 'master' of ../save/merge/frio into frio_merge
[friendica.git] / view / theme / decaf-mobile / templates / group_side.tpl
1
2 <div class="widget" id="group-sidebar">
3 <h3>{{$title}}</h3>
4
5 <div id="sidebar-group-list">
6         <ul id="sidebar-group-ul">
7                 {{foreach $groups as $group}}
8                         <li class="sidebar-group-li">
9                                 {{if $group.cid}}
10                                         <input type="checkbox" 
11                                                 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
12                                                 {{*onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"*}}
13                                                 {{if $group.ismember}}checked="checked"{{/if}}
14                                         />
15                                 {{/if}}                 
16                                 {{if $group.edit}}
17                                         <a class="groupsideedit" href="{{$group.edit.href}}" title="{{$edittext}}"><span id="edit-sidebar-group-element-{{$group.id}}" class="group-edit-icon iconspacer small-pencil"></span></a>
18                                 {{/if}}
19                                 <a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
20                         </li>
21                 {{/foreach}}
22         </ul>
23         </div>
24   <div id="sidebar-new-group">
25   <a href="group/new">{{$createtext}}</a>
26   </div>
27   {{if $ungrouped}}
28   <div id="sidebar-ungrouped">
29   <a href="nogroup">{{$ungrouped}}</a>
30   </div>
31   {{/if}}
32 </div>
33
34