aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chatroomlist.tpl
blob: dfdce8afb124223cb2d458be2688a8e140915832 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<div class="widget">
	<h3>{{$header}}</h3>
	{{if $items}}
	<ul class="nav nav-pills nav-stacked">
		<li><a href="{{$baseurl}}/chat/{{$nickname}}">{{$overview}}</a></li>
		{{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>