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




                                                      
                                                 






                                                                                                                                     
                                       
                                                  
                                                                                                                                                                       
                                       
                                                                                                                                 
                             





                                                                       



      
 
<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}}
				<a class="pull-right group-edit-link">
					<input type="checkbox" 
						class="{{if $group.selected}}ticked{{else}}unticked {{/if}} group-edit-checkbox" 
						onclick="contactgroupChangeMember('{{$group.id}}','{{$group.enc_cid}}');return true;"
						{{if $group.ismember}}checked="checked"{{/if}}
					/>
				</a>
				{{/if}}
				{{if $group.edit}}
				<a class="pull-right group-edit-link" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="group-edit-icon icon-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">{{$createtext}}</a>
			</li>
		</ul>
	</div>
</div>