aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-17 05:58:26 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-17 05:58:26 -0500
commit20db8bbe2ef02190f405e8ee516afadf3a8c9b98 (patch)
treea11c66094ae920a7f73236287f706abe1251e22d /view/tpl/wikilist.tpl
parent154923ca7dafdf75e52fa9b4100b77435a181773 (diff)
downloadvolse-hubzilla-20db8bbe2ef02190f405e8ee516afadf3a8c9b98.tar.gz
volse-hubzilla-20db8bbe2ef02190f405e8ee516afadf3a8c9b98.tar.bz2
volse-hubzilla-20db8bbe2ef02190f405e8ee516afadf3a8c9b98.zip
Highlight active wiki in list in preparation for removing active wiki name from content section header to make room for page list viewer
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index a4934bdb4..d3fca8ab7 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -3,7 +3,7 @@
<ul class="nav nav-pills nav-stacked">
{{if $wikis}}
{{foreach $wikis as $wiki}}
- <li>{{if $owner}}<a href="#" onclick="$('div[id^=\'edit-wiki-form-wrapper\']').hide(); $('div[id^=\'new-wiki-form-wrapper\']').hide(); openClose('edit-wiki-form-wrapper-{{$wiki.resource_id}}'); return false;" class="pull-right wikilist" title="{{$edit}}"><i class="fa fa-pencil"></i></a>{{/if}}
+ <li {{if $wiki.active}}class="active"{{/if}}>{{if $owner}}<a href="#" onclick="$('div[id^=\'edit-wiki-form-wrapper\']').hide(); $('div[id^=\'new-wiki-form-wrapper\']').hide(); openClose('edit-wiki-form-wrapper-{{$wiki.resource_id}}'); return false;" class="pull-right wikilist" title="{{$edit}}"><i class="fa fa-pencil"></i></a>{{/if}}
<a href="#" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="{{$download}}" class="pull-right wikilist"><i class="fa fa-download"></i></a>
<a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="{{$view}}">{{$wiki.title}}</a>
{{if $owner}}