streams/view/tpl/channel.tpl

50 lines
2 KiB
Smarty
Raw Normal View History

2016-03-22 01:06:19 +00:00
<div class="section-subtitle-wrapper">
<div class="pull-right">
{{if $channel.default_links}}
{{if $channel.default}}
<div>
2016-04-30 19:59:02 +00:00
<i class="fa fa-check-square-o"></i>&nbsp;{{$msg_default}}
2016-03-22 01:06:19 +00:00
</div>
{{else}}
<a href="manage/{{$channel.channel_id}}/default" class="make-default-link">
2016-04-30 19:59:02 +00:00
<i class="fa fa-square-o"></i>&nbsp;{{$msg_make_default}}
2016-03-22 01:06:19 +00:00
</a>
{{/if}}
{{/if}}
{{if $channel.delegate}}
{{$delegated_desc}}
{{/if}}
</div>
<h3>
{{if $selected == $channel.channel_id}}
2016-04-30 19:59:02 +00:00
<i class="selected-channel fa fa-circle" title="{{$msg_selected}}"></i>
2016-03-22 01:06:19 +00:00
{{/if}}
{{if $channel.delegate}}
2016-04-30 19:59:02 +00:00
<i class="fa fa-arrow-circle-right" title="{{$delegated_desc}}"></i>
2016-03-22 01:06:19 +00:00
{{/if}}
{{if $selected != $channel.channel_id}}<a href="{{$channel.link}}" title="{{$channel.channel_name}}">{{/if}}
{{$channel.channel_name}}
{{if $selected != $channel.channel_id}}</a>{{/if}}
</h3>
<div class="clear"></div>
</div>
<div class="section-content-wrapper">
<div class="channel-photo-wrapper">
{{if $selected != $channel.channel_id}}<a href="{{$channel.link}}" class="channel-selection-photo-link" title="{{$channel.channel_name}}">{{/if}}
<img class="channel-photo" src="{{$channel.xchan_photo_m}}" alt="{{$channel.channel_name}}" />
{{if $selected != $channel.channel_id}}</a>{{/if}}
</div>
<div class="channel-notifications-wrapper">
{{if !$channel.delegate}}
<div class="channel-notification">
2016-04-30 19:59:02 +00:00
<i class="fa fa-envelope{{if $channel.mail != 0}} new-notification{{/if}}"></i>
2016-03-22 01:06:19 +00:00
{{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">
2016-04-30 19:59:02 +00:00
<i class="fa fa-user{{if $channel.intros != 0}} new-notification{{/if}}"></i>
2016-03-22 01:06:19 +00:00
{{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}}
</div>
2012-09-03 03:30:47 +00:00
</div>