diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2014-06-24 19:34:36 +0200 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2014-06-24 19:34:36 +0200 |
commit | b8dc9e855af2d30f33d0f90dc13d8cad0a7b3e70 (patch) | |
tree | 718df6305bcb82c8dcb4b287a7132422e748cdfb /view/tpl/channel.tpl | |
parent | c2d520f1be115fb3cb5da2a35eb10146cecee8aa (diff) | |
parent | a92fb0b04c3e6474ec48faf8e4cc65c382e89d66 (diff) | |
download | volse-hubzilla-b8dc9e855af2d30f33d0f90dc13d8cad0a7b3e70.tar.gz volse-hubzilla-b8dc9e855af2d30f33d0f90dc13d8cad0a7b3e70.tar.bz2 volse-hubzilla-b8dc9e855af2d30f33d0f90dc13d8cad0a7b3e70.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'view/tpl/channel.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/channel.tpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl index af4f9b703..1ed2fbd2c 100644..100755 --- a/view/tpl/channel.tpl +++ b/view/tpl/channel.tpl @@ -1,12 +1,12 @@ <div class="channel-selection"> -{{ if $channel.default_links }} -{{ if $channel.default }} -<div class="channel-selection-default default">$msg_default</div> -{{ else }} -<div class="channel-selection-default"><a href="manage/$channel.channel_id/default">$msg_make_default</a></div> -{{ endif }} -{{ endif }} -<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> -<a href="$channel.link" class="channel-selection-name-link" title="$channel.channel_name"><div class="channel-name">$channel.channel_name</div></a> +{{if $channel.default_links}} +{{if $channel.default}} +<div class="channel-selection-default default"><i class="icon-check"></i> {{$msg_default}}</div> +{{else}} +<div class="channel-selection-default"><a href="manage/{{$channel.channel_id}}/default"><i class="icon-check-empty" title="{{$msg_make_default}}"></i></a></div> +{{/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> +<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> |