blob: 4afe1286f19a45e45d3a1014ee18d524d3b554a7 (
plain) (
tree)
|
|
<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-tool fakelink" onclick="contactgroupChangeMember('{{$group.id}}','{{$group.enc_cid}}'); return true;"/>
<i id="group-{{$group.id}}" class="{{if $group.ismember}}icon-check{{else}}icon-check-empty{{/if}}"></i>
</a>
{{/if}}
{{if $group.edit}}
<a class="pull-right group-edit-tool" 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>
|