aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/fileas_widget.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-24 19:41:58 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-24 19:41:58 +0100
commit90ab050493184615da4b5846ca92f6dbe948e3b5 (patch)
tree849617f2c6497ed647699c781088717ef24ebe24 /view/tpl/fileas_widget.tpl
parent28e0911f295f49af8f559434d119286ef7ca9d83 (diff)
downloadvolse-hubzilla-90ab050493184615da4b5846ca92f6dbe948e3b5.tar.gz
volse-hubzilla-90ab050493184615da4b5846ca92f6dbe948e3b5.tar.bz2
volse-hubzilla-90ab050493184615da4b5846ca92f6dbe948e3b5.zip
fix active state
Diffstat (limited to 'view/tpl/fileas_widget.tpl')
-rwxr-xr-xview/tpl/fileas_widget.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/fileas_widget.tpl b/view/tpl/fileas_widget.tpl
index 1754a794b..a6a69b89c 100755
--- a/view/tpl/fileas_widget.tpl
+++ b/view/tpl/fileas_widget.tpl
@@ -3,9 +3,9 @@
<div id="nets-desc">{{$desc}}</div>
<ul class="nav nav-pills flex-column">
- <li class="nav-item"><a class="nav-link" href="{{$base}}"{{if $sel_all}} class="fileas-selected"{{/if}}>{{$all}}</a></li>
+ <li class="nav-item"><a class="nav-link{{if $sel_all}} active{{/if}}" href="{{$base}}">{{$all}}</a></li>
{{foreach $terms as $term}}
- <li class="nav-item"><a class="nav-link" href="{{$base}}?f=&file={{$term.name}}"{{if $term.selected}} class="fileas-selected"{{/if}}>{{$term.name}}</a></li>
+ <li class="nav-item"><a class="nav-link{{if $term.selected}} active{{/if}}" href="{{$base}}?f=&file={{$term.name}}">{{$term.name}}</a></li>
{{/foreach}}
</ul>