aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/channel.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-29 23:58:14 -0800
committerfriendica <info@friendica.com>2014-12-29 23:58:14 -0800
commit2f650b74d35335815c48537cd03c81cc92a3c4f8 (patch)
treed209405166df963a8cca626fb53dc69a9e0b3872 /view/tpl/channel.tpl
parent5cfe0511391e391d46b91efaa8df3501d498fd21 (diff)
parent9b2c71a5dcdeb7ef7a1b1e09ad906bc750b1d0d6 (diff)
downloadvolse-hubzilla-2f650b74d35335815c48537cd03c81cc92a3c4f8.tar.gz
volse-hubzilla-2f650b74d35335815c48537cd03c81cc92a3c4f8.tar.bz2
volse-hubzilla-2f650b74d35335815c48537cd03c81cc92a3c4f8.zip
Merge branch 'master' into trinidad
Diffstat (limited to 'view/tpl/channel.tpl')
-rwxr-xr-xview/tpl/channel.tpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl
index 55b122d9b..af80e7b4d 100755
--- a/view/tpl/channel.tpl
+++ b/view/tpl/channel.tpl
@@ -1,4 +1,4 @@
-<div class="channel-selection">
+<div class='channel-selection {{if $selected == $channel.channel_id}}selected-channel{{/if}}'>
{{if $channel.default_links}}
{{if $channel.default}}
<div class="channel-selection-default default"><i class="icon-check"></i> {{$msg_default}}</div>
@@ -7,8 +7,6 @@
{{/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"><a href='manage/{{$channel.channel_id}}/message' style="{{if $channel.mail != 0}}color:#c60032;{{/if}}" title='{{$channel.mail|string_format:$mail_format}}'><i class="icon-envelope"></i> {{$channel.mail}}</a>&nbsp;<a href='manage/{{$channel.channel_id}}/connections/ifpending' style="{{if $channel.intros != 0}}color:#c60032;{{/if}}" title='{{$channel.intros|string_format:$intros_format}}'><i class="icon-user"></i> {{$channel.intros}}</a></div>
<a href="{{$channel.link}}" class="channel-selection-name-link" title="{{$channel.channel_name}}"><div class="channel-name">{{$channel.channel_name}}</div></a>
</div>
-
-<div class="channel-selection-end"></div>