]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/group_side.tpl
Merge branch 'master' of https://github.com/friendica/friendica
[friendica.git] / view / theme / diabook / 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"></span></a>
5         </div>
6
7         <div id="sidebar-group-list">
8                 <ul>
9                         {{ for $groups as $group }}
10                         <li class="tool  {{ if $group.selected }}selected{{ endif }}">
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"></span></a>
16                                 {{ endif }}
17                                 {{ if $group.cid }}
18                                         <input type="checkbox" 
19                                                 class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action" 
20                                                 onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"
21                                                 {{ if $group.ismember }}checked="checked"{{ endif }}
22                                         />
23                                 {{ endif }}
24                         </li>
25                         {{ endfor }}
26                 </ul>
27         </div>
28 </div>  
29