]> git.mxchange.org Git - friendica.git/blob - view/theme/testbubble/group_side.tpl
a1fc70a22e87ed4ab2666bb046e729ffd6563b4d
[friendica.git] / view / theme / testbubble / group_side.tpl
1 <div class="widget" id="group-sidebar">
2 <h3>$title</h3>
3
4 <div id="sidebar-group-list">
5         <ul id="sidebar-group-ul">
6                 {{ for $groups as $group }}
7                         <li class="sidebar-group-li">
8                                 {{ if $group.cid }}
9                                         <input type="checkbox" 
10                                                 class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action" 
11                                                 onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"
12                                                 {{ if $group.ismember }}checked="checked"{{ endif }}
13                                         />
14                                 {{ endif }}                     
15                                 {{ if $group.edit }}
16                                         <a class="groupsideedit" href="$group.edit.href"><span class="icon small-pencil"></span></a>
17                                 {{ endif }}
18                                 <a class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}" href="$group.href">$group.text</a>
19                         </li>
20                 {{ endfor }}
21         </ul>
22         </div>
23   <div id="sidebar-new-group">
24   <a href="group/new">$createtext</a>
25   </div>
26 </div>
27
28