aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-21 21:55:09 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-21 21:55:09 -0400
commita36bef7979aecd72751d319f85b7037991979e35 (patch)
tree30b24ac811becd3e32cbeb260e11bea66ef4445d /view/tpl/wikilist.tpl
parent049147a9d78b981482297c3daf48c67f31754259 (diff)
downloadvolse-hubzilla-a36bef7979aecd72751d319f85b7037991979e35.tar.gz
volse-hubzilla-a36bef7979aecd72751d319f85b7037991979e35.tar.bz2
volse-hubzilla-a36bef7979aecd72751d319f85b7037991979e35.zip
List of wikis populates with links according to observer permissions.
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index b76bb359c..d5f2d0c04 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -1,11 +1,8 @@
<div id="wiki_list" class="widget">
<h3>{{$header}}</h3>
<ul class="nav nav-pills nav-stacked">
- {{foreach $read as $r}}
- <li><a href="">{{$r}}</a></li>
- {{/foreach}}
- {{foreach $write as $r}}
- <li><a href="">{{$r}}</a></li>
+ {{foreach $wikis as $wiki}}
+ <li><a href="/wiki/{{$channel}}/{{$wiki.title}}">{{$wiki.title}}</a></li>
{{/foreach}}
</ul>
</div>