2015-08-23 22:38:18 +02:00
|
|
|
<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;"/>
|
2016-05-17 19:05:14 +02:00
|
|
|
<i id="group-{{$group.id}}" class="fa {{if $group.ismember}}fa-check-square-o{{else}}fa-square-o{{/if}}"></i>
|
2015-08-23 22:38:18 +02:00
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
{{if $group.edit}}
|
2016-05-17 19:05:14 +02:00
|
|
|
<a class="pull-right group-edit-tool" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="group-edit-icon fa fa-pencil"></i></a>
|
2015-08-23 22:38:18 +02:00
|
|
|
{{/if}}
|
|
|
|
<a{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a>
|
|
|
|
</li>
|
|
|
|
{{/foreach}}
|
|
|
|
<li>
|
2016-05-17 19:05:14 +02:00
|
|
|
<a href="group/new" title="{{$createtext}}" ><i class="fa fa-plus-circle"></i> {{$createtext}}</a>
|
2015-08-23 22:38:18 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|