aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/channel.tpl
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2014-12-27 13:36:05 +0100
committerStefan Parviainen <saparvia@caterva.eu>2014-12-27 13:36:05 +0100
commit6a679d26ce1c2947e49c74f3b6a98a7ad770b325 (patch)
treeff30758f775046e4037d500e9531cb557e179988 /view/tpl/channel.tpl
parent0130fb077fbea06c0abd6e395adccddcd08a0c99 (diff)
downloadvolse-hubzilla-6a679d26ce1c2947e49c74f3b6a98a7ad770b325.tar.gz
volse-hubzilla-6a679d26ce1c2947e49c74f3b6a98a7ad770b325.tar.bz2
volse-hubzilla-6a679d26ce1c2947e49c74f3b6a98a7ad770b325.zip
Fix #771, add tooltips to mail and intros count in channel manager, always show counts (even when 0, makes it easier to understand what the icons are)
Diffstat (limited to 'view/tpl/channel.tpl')
-rwxr-xr-xview/tpl/channel.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl
index 55b122d9b..984421eec 100755
--- a/view/tpl/channel.tpl
+++ b/view/tpl/channel.tpl
@@ -7,7 +7,7 @@
{{/if}}
{{/if}}
<a href="{{$channel.link}}" class="channel-selection-photo-link" title="{{$channel.channel_name}}"><img class="channel-photo" src="{{$channel.xchan_photo_m}}" alt="{{$channel.channel_name}}" /></a>
-<div class="channels-notifications-wrapper">{{if $channel.mail != 0}}<span style="color:#c60032;"><i class="icon-envelope"></i> {{$channel.mail}}</span>{{else}}<i class="icon-envelope"></i> &nbsp;{{/if}} {{if $channel.intros != 0}}<span style="color:#c60032;"><i class="icon-user"></i> {{$channel.intros}}</span>{{else}}<i class="icon-user"></i> &nbsp;{{/if}}</div>
+<div class="channels-notifications-wrapper"><span style="{{if $channel.mail != 0}}color:#c60032;{{/if}}" title='{{$channel.mail|string_format:$mail_format}}'><i class="icon-envelope"></i> {{$channel.mail}}&nbsp;</span><span style="{{if $channel.intros != 0}}color:#c60032;{{/if}}" title='{{$channel.intros|string_format:$intros_format}}'><i class="icon-user"></i> {{$channel.intros}}</span></div>
<a href="{{$channel.link}}" class="channel-selection-name-link" title="{{$channel.channel_name}}"><div class="channel-name">{{$channel.channel_name}}</div></a>
</div>