aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-05 14:18:06 -0800
committerfriendica <info@friendica.com>2014-03-05 14:18:06 -0800
commit40746eae57c8bf7a887e6bb2a9ffc0120fd85e1f (patch)
tree1f0cd510922ec8620a343c56e581aadcb9e1dc5f /view
parent7dd373fa7e706a9ae7eed54b3e0c989e4baa962a (diff)
downloadvolse-hubzilla-40746eae57c8bf7a887e6bb2a9ffc0120fd85e1f.tar.gz
volse-hubzilla-40746eae57c8bf7a887e6bb2a9ffc0120fd85e1f.tar.bz2
volse-hubzilla-40746eae57c8bf7a887e6bb2a9ffc0120fd85e1f.zip
add new template
Diffstat (limited to 'view')
-rw-r--r--view/tpl/blocklist.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/view/tpl/blocklist.tpl b/view/tpl/blocklist.tpl
new file mode 100644
index 000000000..adf61f788
--- /dev/null
+++ b/view/tpl/blocklist.tpl
@@ -0,0 +1,18 @@
+{{if $pages}}
+
+ <div id="pagelist-content-wrapper" class="generic-content-wrapper">
+ {{foreach $pages as $key => $items}}
+ {{foreach $items as $item}}
+ <div class="page-list-item">
+ {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil design-icons design-edit-icon"></i></a> {{/if}}
+ {{if $view}}<a href="block/{{$channel}}/{{$item.title}}" title="{{$view}}"><i class="icon-external-link design-icons design-view-icon"></i></a> {{/if}}
+ {{if $preview}}<a href="block/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" title="{{$preview}}" class="webpage-preview" ><i class="icon-eye-open design-icons design-preview-icon"></i></a> {{/if}}
+ {{$item.title}}
+ </div>
+ {{/foreach}}
+ {{/foreach}}
+ </div>
+
+ <div class="clear"></div>
+
+{{/if}}