aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/webpagelist.tpl
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-08-14 20:46:48 +0100
committerThomas Willingham <founder@kakste.com>2013-08-14 20:46:48 +0100
commit608e04c65eb2433a1cece9b5798f8577b611a288 (patch)
treec63c91f20d0bd5fd71e9afda20998d00ea28e3a8 /view/tpl/webpagelist.tpl
parenta0dfd44f9178796eaf55e4a2ab0194c12e7dfd21 (diff)
downloadvolse-hubzilla-608e04c65eb2433a1cece9b5798f8577b611a288.tar.gz
volse-hubzilla-608e04c65eb2433a1cece9b5798f8577b611a288.tar.bz2
volse-hubzilla-608e04c65eb2433a1cece9b5798f8577b611a288.zip
More progress on pages - extend writepages widget, add pagelist widget
Diffstat (limited to 'view/tpl/webpagelist.tpl')
-rw-r--r--view/tpl/webpagelist.tpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl
index f3fe90da5..b09dc9f38 100644
--- a/view/tpl/webpagelist.tpl
+++ b/view/tpl/webpagelist.tpl
@@ -5,10 +5,11 @@
<div id="pagelist-content-wrapper">
{{foreach $pages as $key => $items}}
{{foreach $items as $item}}
- <div class="page-list-item"><a href="{{$baseurl}}/{{$item.url}}">{{$edit}}</a> |
- <a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a>
- {{$item.title}} |
- <a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="prettyPhoto[iframes]">Preview</a>
+ <div class="page-list-item">
+ {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}">{{$edit}}</a> | {{/if}}
+ {{if $view}}<a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a> {{$item.title}} | {{/if}}
+ {{if $preview}} <a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="prettyPhoto[iframes]">Preview</a> {{/if}}
+ {{if $widget}}<a href="page/{{$channel}}/{{$item.title}}">{{$item.title}}</a>{{/if}}
</div>
{{/foreach}}