aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/group_side.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-10 17:02:55 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-10 17:02:55 +0100
commit0f9ddbf3b2509ef4651a9b58d008330d6bc8cfd9 (patch)
tree1bfba6455a431f153a9b2b7aa682e495085e9990 /view/tpl/group_side.tpl
parentb1c97dfcfd80263f94733d0ec6c357eebc5a57da (diff)
downloadvolse-hubzilla-0f9ddbf3b2509ef4651a9b58d008330d6bc8cfd9.tar.gz
volse-hubzilla-0f9ddbf3b2509ef4651a9b58d008330d6bc8cfd9.tar.bz2
volse-hubzilla-0f9ddbf3b2509ef4651a9b58d008330d6bc8cfd9.zip
fixing classes
Diffstat (limited to 'view/tpl/group_side.tpl')
-rwxr-xr-xview/tpl/group_side.tpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/view/tpl/group_side.tpl b/view/tpl/group_side.tpl
index 35f79a07e..14f714ae9 100755
--- a/view/tpl/group_side.tpl
+++ b/view/tpl/group_side.tpl
@@ -1,20 +1,20 @@
<div class="widget" id="group-sidebar">
<h3>{{$title}}</h3>
<div>
- <ul class="nav nav-pills nav-stacked">
+ <ul class="nav nav-pills flex-column">
{{foreach $groups as $group}}
- <li>
+ <li class="nav-item nav-item-hack">
{{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>
+ <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="widget-nav-pills-icons" title="{{$edittext}}"><i class="fa fa-pencil"></i></a>
+ <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{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a>
+ <a class="nav-link{{if $group.selected}} active{{/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 class="nav-item">
+ <a class="nav-link" href="group/new" title="{{$createtext}}" ><i class="fa fa-plus-circle"></i> {{$createtext}}</a>
</li>
</ul>