aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chatroomlist.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-30 14:31:55 +0200
committerMario Vavti <mario@mariovavti.com>2016-03-30 14:31:55 +0200
commit5462453bf2bde50166c68f90b08d24826dd07ba8 (patch)
tree8951f8c1f38cb9847419fce8874a89325da6fe54 /view/tpl/chatroomlist.tpl
parente4f360505466d4701ea4ac8f8bec18fac5b4c3ec (diff)
downloadvolse-hubzilla-5462453bf2bde50166c68f90b08d24826dd07ba8.tar.gz
volse-hubzilla-5462453bf2bde50166c68f90b08d24826dd07ba8.tar.bz2
volse-hubzilla-5462453bf2bde50166c68f90b08d24826dd07ba8.zip
some work on mod chat
Diffstat (limited to 'view/tpl/chatroomlist.tpl')
-rw-r--r--view/tpl/chatroomlist.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl
index 71fec8200..ac0f7cf9b 100644
--- a/view/tpl/chatroomlist.tpl
+++ b/view/tpl/chatroomlist.tpl
@@ -1,11 +1,11 @@
<div class="widget">
-<h3>{{$header}}</h3>
-{{if $items}}
-<table class="chatroomlist">
-{{foreach $items as $item}}
-<tr><td align="left"><a href="{{$baseurl}}/chat/{{$nickname}}/{{$item.cr_id}}">{{$item.cr_name}}</a></td><td align="right">{{$item.cr_inroom}}</td></tr>
-{{/foreach}}
-</table>
-{{/if}}
+ <h3>{{$header}}</h3>
+ {{if $items}}
+ <ul class="nav nav-pills nav-stacked">
+ {{foreach $items as $item}}
+ <li><a href="{{$baseurl}}/chat/{{$nickname}}/{{$item.cr_id}}"><span class="badge pull-right">{{$item.cr_inroom}}</span>{{$item.cr_name}}</a></li>
+ {{/foreach}}
+ </ul>
+ {{/if}}
</div>