aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/group_side.tpl
blob: 35f79a07e88e30fadd6e61ec87b1de96a3a92542 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                       




                                                      
                                                 
                                                                                                                                                                                                                                                              
                                       
                                                  
                                                                                                                                                    
                                       
                                                                                                                                 
                             
                                    
                            
                                                                                                                                  
                             
                     
 
              



      
 
<div class="widget" id="group-sidebar">
	<h3>{{$title}}</h3>
	<div>
		<ul class="nav nav-pills nav-stacked">
			{{foreach $groups as $group}}
			<li>
				{{if $group.cid}}
				<i id="group-{{$group.id}}" class="widget-nav-pills-checkbox fa {{if $group.ismember}}fa-check-square-o{{else}}fa-square-o{{/if}}" onclick="contactgroupChangeMember('{{$group.id}}','{{$group.enc_cid}}'); return true;"></i>
				{{/if}}
				{{if $group.edit}}
				<a href="{{$group.edit.href}}" class="widget-nav-pills-icons" title="{{$edittext}}"><i class="fa fa-pencil"></i></a>
				{{/if}}
				<a{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a>
			</li>
			{{/foreach}}
			<li>
				<a href="group/new" title="{{$createtext}}" ><i class="fa fa-plus-circle"></i> {{$createtext}}</a>
			</li>
		</ul>

	</div>
</div>