]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/group_side.tpl
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / theme / diabook / group_side.tpl
1 <div id="profile_side" >
2         <div class="">
3                 <h3 style="margin-left: 2px;">$title<a href="group/new" title="$createtext" class="icon text_add"></a></h3>
4         </div>
5
6         <div id="sidebar-group-list">
7                 <ul class="menu-profile-side">
8                         {{ for $groups as $group }}
9                         <li class="menu-profile-list">
10                                 <a href="$group.href" class="menu-profile-list-item">
11                                         <span class="menu-profile-icon {{ if $group.selected }}group_selected{{else}}group_unselected{{ endif }}"></span>
12                                         $group.text
13                                 </a>
14                                 {{ if $group.edit }}
15                                         <a href="$group.edit.href" class="action"><span class="icon text_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   {{ if $ungrouped }}
29   <div id="sidebar-ungrouped">
30   <a href="nogroup">$ungrouped</a>
31   </div>
32   {{ endif }}
33 </div>  
34