]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/group_side.tpl
Merge branch 'master' of github.com:annando/friendica
[friendica.git] / view / theme / dispy / group_side.tpl
1 <div id="group-sidebar" class="widget">
2 <h3 class="label">$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                                 <a href="$group.href" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}">$group.text</a>
9                                 {{ if $group.edit }}
10                                         <a 
11                         class="groupsideedit"
12                         href="$group.edit.href" title="$group.edit.title"><span class="icon small-pencil"></span></a>
13                                 {{ endif }}
14                                 {{ if $group.cid }}
15                                         <input type="checkbox" 
16                                                 class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action" 
17                                                 onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"
18                                                 {{ if $group.ismember }}checked="checked"{{ endif }}
19                                         />
20                                 {{ endif }}
21                         </li>
22                 {{ endfor }}
23         </ul>
24         </div>
25   <div id="sidebar-new-group">
26   <a href="group/new" title="$createtext"><span class="action text add">$createtext</span></a>
27   </div>
28 </div>
29
30