streams/view/tpl/channel.tpl
2019-04-05 00:54:35 -07:00

46 lines
1.9 KiB
Smarty
Executable file

<div class="section-subtitle-wrapper">
<div class="pull-right">
{{if $channel.default_links}}
{{if $channel.default}}
<div>
<i class="fa fa-check-square-o"></i>&nbsp;{{$msg_default}}
</div>
{{else}}
<a href="manage/{{$channel.channel_id}}/default" class="make-default-link">
<i class="fa fa-square-o"></i>&nbsp;{{$msg_make_default}}
</a>
{{/if}}
{{/if}}
{{if $channel.delegate}}
{{$delegated_desc}}
{{/if}}
</div>
<h3>
{{*if $selected == $channel.channel_id}}
<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>
{{/if}}
{{if $channel.xchan_type == 2}}<i class="fa fa-tags" title="{{$channel.collections_label}}"></i>&nbsp;{{elseif $channel.xchan_type == 1}}<i class="fa fa-comments-o" title="{{$channel.forum_label}}"></i>&nbsp;{{/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{{if $selected == $channel.channel_id}} channel-active{{/if}}" 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">
<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}}
</div>
</div>