]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/templates/group_side.tpl
Merge pull request #2193 from fabrixxm/changelog
[friendica.git] / view / theme / diabook / templates / group_side.tpl
1
2 <div id="profile_side" >
3         <div class="">
4                 <h3 style="margin-left: 2px;">{{$title}}<a href="group/new" title="{{$createtext}}" class="icon text_add"></a></h3>
5         </div>
6
7         <div id="sidebar-group-list">
8                 <ul class="menu-profile-side">
9                         {{foreach $groups as $group}}
10                         <li class="menu-profile-list">
11                                 <a href="{{$group.href}}" class="menu-profile-list-item">
12                                         <span class="menu-profile-icon {{if $group.selected}}group_selected{{else}}group_unselected{{/if}}"></span>
13                                         {{$group.text}}
14                                 </a>
15                                 {{if $group.edit}}
16                                         <a href="{{$group.edit.href}}" class="action"><span class="icon text_edit" ></span></a>
17                                 {{/if}}
18                                 {{if $group.cid}}
19                                         <input type="checkbox" 
20                                                 class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
21                                                 onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
22                                                 {{if $group.ismember}}checked="checked"{{/if}}
23                                         />
24                                 {{/if}}
25                         </li>
26                         {{/foreach}}
27                 </ul>
28         </div>
29   {{if $ungrouped}}
30   <div id="sidebar-ungrouped">
31   <a href="nogroup">{{$ungrouped}}</a>
32   </div>
33   {{/if}}
34 </div>  
35