aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/group_side.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/tpl/group_side.tpl')
-rwxr-xr-xview/theme/redbasic/tpl/group_side.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/group_side.tpl b/view/theme/redbasic/tpl/group_side.tpl
new file mode 100755
index 000000000..14f714ae9
--- /dev/null
+++ b/view/theme/redbasic/tpl/group_side.tpl
@@ -0,0 +1,26 @@
+<div class="widget" id="group-sidebar">
+ <h3>{{$title}}</h3>
+ <div>
+ <ul class="nav nav-pills flex-column">
+ {{foreach $groups as $group}}
+ <li class="nav-item nav-item-hack">
+ {{if $group.cid}}
+ <i id="group-{{$group.id}}" class="widget-nav-pills-checkbox fa fa-fw {{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="nav-link{{if $group.selected}} active{{/if}} widget-nav-pills-icons" title="{{$edittext}}"><i class="fa fa-fw fa-pencil"></i></a>
+ {{/if}}
+ <a class="nav-link{{if $group.selected}} active{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
+ </li>
+ {{/foreach}}
+ <li class="nav-item">
+ <a class="nav-link" href="group/new" title="{{$createtext}}" ><i class="fa fa-plus-circle"></i> {{$createtext}}</a>
+ </li>
+ </ul>
+
+ </div>
+</div>
+
+
+
+