aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/message_side.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-07 18:11:36 +0200
committermarijus <mario@mariovavti.com>2014-10-07 18:11:36 +0200
commit21eae4df9c45d836c50bae79b251597968f43967 (patch)
tree9b0524e74a0092decbdef2c915a41bedeae00112 /view/tpl/message_side.tpl
parentbf0168546331c131652cfd519522d193078e999c (diff)
downloadvolse-hubzilla-21eae4df9c45d836c50bae79b251597968f43967.tar.gz
volse-hubzilla-21eae4df9c45d836c50bae79b251597968f43967.tar.bz2
volse-hubzilla-21eae4df9c45d836c50bae79b251597968f43967.zip
porting more widgets to bs nav-pills
Diffstat (limited to 'view/tpl/message_side.tpl')
-rwxr-xr-xview/tpl/message_side.tpl17
1 files changed, 10 insertions, 7 deletions
diff --git a/view/tpl/message_side.tpl b/view/tpl/message_side.tpl
index 723a64019..3e32eae14 100755
--- a/view/tpl/message_side.tpl
+++ b/view/tpl/message_side.tpl
@@ -1,11 +1,14 @@
-<div id="message-sidebar" class="widget">
- <div id="message-check" class="btn btn-default"><a href="{{$check.url}}" class="{{if $check.sel}}checkmessage-selected{{/if}}">{{$check.label}}</a> </div>
- <div id="message-new" class="btn btn-default"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
-
- <ul class="message-ul">
+<div class="widget">
+ <h3>{{$title}}</h3>
+ <ul class="nav nav-pills nav-stacked">
+ <li><a href="{{$check.url}}"{{if $check.sel}} class="checkmessage-selected"{{/if}}>{{$check.label}}</a></li>
+ <li><a href="{{$new.url}}"{{if $new.sel}} class="newmessage-selected"{{/if}}>{{$new.label}}</a></li>
+ </ul>
+ {{if $tabs}}
+ <ul class="nav nav-pills nav-stacked">
{{foreach $tabs as $t}}
- <li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li>
+ <li><a href="{{$t.url}}"{{if $t.sel}} class="message-selected"{{/if}}>{{$t.label}}</a></li>
{{/foreach}}
</ul>
-
+ {{/if}}
</div>