aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chatroomlist.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-29 01:53:15 -0800
committerfriendica <info@friendica.com>2014-01-29 01:53:15 -0800
commitf84ba95e870ce5b63e5af4cc7be43b516d4c163d (patch)
tree0f83543ff10fad14a6bb9d4d2a9fa81947c1f91c /view/tpl/chatroomlist.tpl
parent9f546757021305b6cfe924f38ca1af5fd5d3e69b (diff)
downloadvolse-hubzilla-f84ba95e870ce5b63e5af4cc7be43b516d4c163d.tar.gz
volse-hubzilla-f84ba95e870ce5b63e5af4cc7be43b516d4c163d.tar.bz2
volse-hubzilla-f84ba95e870ce5b63e5af4cc7be43b516d4c163d.zip
add template for chatroomlist widget
Diffstat (limited to 'view/tpl/chatroomlist.tpl')
-rw-r--r--view/tpl/chatroomlist.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl
new file mode 100644
index 000000000..34050eef3
--- /dev/null
+++ b/view/tpl/chatroomlist.tpl
@@ -0,0 +1,11 @@
+<div class="widget">
+<h3>{{$header}}</h3>
+{{$if $items}}
+<table>
+{{for $items as $item}}
+<tr><td>{{$item.cr_name}}</td><td>{{$item.cr_inroom}}</td></tr>
+{{/for}}
+</table>
+{{/if}}
+</div>
+