aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-25 09:41:51 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-25 09:41:51 +0100
commit2115eb26a7fd2ca937286bd4e98ab74c7d6e9525 (patch)
tree8b4755bce8cbc19a37ea6d00b8d16882976237e4 /view
parent4f4c9bf5d658c1283d1181cd7899194df7df943c (diff)
parent90ab050493184615da4b5846ca92f6dbe948e3b5 (diff)
downloadvolse-hubzilla-2115eb26a7fd2ca937286bd4e98ab74c7d6e9525.tar.gz
volse-hubzilla-2115eb26a7fd2ca937286bd4e98ab74c7d6e9525.tar.bz2
volse-hubzilla-2115eb26a7fd2ca937286bd4e98ab74c7d6e9525.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/fileas_widget.tpl4
-rw-r--r--view/tpl/saved_searches.tpl2
2 files changed, 3 insertions, 3 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>
diff --git a/view/tpl/saved_searches.tpl b/view/tpl/saved_searches.tpl
index b62404fcc..ff2d044ef 100644
--- a/view/tpl/saved_searches.tpl
+++ b/view/tpl/saved_searches.tpl
@@ -5,7 +5,7 @@
{{foreach $saved as $search}}
<li class="nav-item nav-item-hack" id="search-term-{{$search.id}}">
<a class="nav-link widget-nav-pills-icons" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="{{$search.dellink}}"><i id="dropfa-floppy-od-search-term-{{$search.id}}" class="fa fa-trash-o drop-icons" ></i></a>
- <a id="saved-search-term-{{$search.id}}" class="nav-link{{if $search.selected}} search-selected{{/if}}" href="{{$search.srchlink}}">{{$search.displayterm}}</a>
+ <a id="saved-search-term-{{$search.id}}" class="nav-link{{if $search.selected}} active{{/if}}" href="{{$search.srchlink}}">{{$search.displayterm}}</a>
</li>
{{/foreach}}
</ul>