aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-22 12:01:13 +0200
committergit-marijus <mario@mariovavti.com>2017-07-22 12:01:13 +0200
commitf4a4d70149b74a73faf5e777350d76946eeefe93 (patch)
tree7b106c62ec6bf81d76e798d18452ab8b696a3a69 /view/tpl
parent4335e49381a766bc59b3ccd3df9c4981afab7603 (diff)
downloadvolse-hubzilla-f4a4d70149b74a73faf5e777350d76946eeefe93.tar.gz
volse-hubzilla-f4a4d70149b74a73faf5e777350d76946eeefe93.tar.bz2
volse-hubzilla-f4a4d70149b74a73faf5e777350d76946eeefe93.zip
indicate the selected channel in the dropdown menu and minor css fixes
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/channel.tpl6
-rwxr-xr-xview/tpl/nav.tpl2
2 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl
index 1a84f1e66..63e09ec05 100755
--- a/view/tpl/channel.tpl
+++ b/view/tpl/channel.tpl
@@ -17,7 +17,7 @@
</div>
<h3>
{{if $selected == $channel.channel_id}}
- <i class="selected-channel fa fa-circle" title="{{$msg_selected}}"></i>
+ <i class="fa fa-circle text-success" title="{{$msg_selected}}"></i>
{{/if}}
{{if $channel.delegate}}
<i class="fa fa-arrow-circle-right" title="{{$delegated_desc}}"></i>
@@ -37,11 +37,11 @@
<div class="channel-notifications-wrapper">
{{if !$channel.delegate}}
<div class="channel-notification">
- <i class="fa fa-envelope{{if $channel.mail != 0}} new-notification{{/if}}"></i>
+ <i class="fa fa-fw fa-envelope{{if $channel.mail != 0}} text-danger{{/if}}"></i>
{{if $channel.mail != 0}}<a href="manage/{{$channel.channel_id}}/mail/combined">{{/if}}{{$channel.mail|string_format:$mail_format}}{{if $channel.mail != 0}}</a>{{/if}}
</div>
<div class="channel-notification">
- <i class="fa fa-user{{if $channel.intros != 0}} new-notification{{/if}}"></i>
+ <i class="fa fa-fw fa-user{{if $channel.intros != 0}} text-danger{{/if}}"></i>
{{if $channel.intros != 0}}<a href='manage/{{$channel.channel_id}}/connections/ifpending'>{{/if}}{{$channel.intros|string_format:$intros_format}}{{if $channel.intros != 0}}</a>{{/if}}
</div>
{{/if}}
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index cb0e2af32..288a15f2c 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -26,7 +26,7 @@
{{/if}}
{{if $nav.channels}}
{{foreach $nav.channels as $chan}}
- <a class="dropdown-item" href="manage/{{$chan.channel_id}}" title="{{$chan.channel_name}}" role="menuitem">{{$chan.channel_name}}</a>
+ <a class="dropdown-item" href="manage/{{$chan.channel_id}}" title="{{$chan.channel_name}}" role="menuitem"><i class="fa fa-circle{{if $localuser == $chan.channel_id}} text-success{{else}} invisible{{/if}}"></i> {{$chan.channel_name}}</a>
{{/foreach}}
{{/if}}
{{if $nav.profiles}}