]> git.mxchange.org Git - friendica.git/blob - view/templates/group_side.tpl
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / templates / group_side.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <div class="widget" id="group-sidebar">
7 <h3>{{$title}}</h3>
8
9 <div id="sidebar-group-list">
10         <ul id="sidebar-group-ul">
11                 {{foreach $groups as $group}}
12                         <li class="sidebar-group-li">
13                                 {{if $group.cid}}
14                                         <input type="checkbox" 
15                                                 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
16                                                 onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
17                                                 {{if $group.ismember}}checked="checked"{{/if}}
18                                         />
19                                 {{/if}}                 
20                                 {{if $group.edit}}
21                                         <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>
22                                 {{/if}}
23                                 <a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
24                         </li>
25                 {{/foreach}}
26         </ul>
27         </div>
28   <div id="sidebar-new-group">
29   <a href="group/new">{{$createtext}}</a>
30   </div>
31   {{if $ungrouped}}
32   <div id="sidebar-ungrouped">
33   <a href="nogroup">{{$ungrouped}}</a>
34   </div>
35   {{/if}}
36 </div>
37
38