aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/channels.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/channels.tpl')
-rwxr-xr-xview/tpl/channels.tpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl
new file mode 100755
index 000000000..f484b49e5
--- /dev/null
+++ b/view/tpl/channels.tpl
@@ -0,0 +1,24 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <a class="btn btn-success btn-sm pull-right" href="{{$create.0}}" title="{{$create.1}}"><i class="fa fa-plus-circle"></i>&nbsp;{{$create.2}}</a>
+ <h2>{{$header}}</h2>
+ </div>
+ <div class="section-content-wrapper-np">
+ {{if $channel_usage_message}}
+ <div id="channel-usage-message" class="section-content-warning-wrapper">
+ {{$channel_usage_message}}
+ </div>
+ {{/if}}
+ <div id="channels-desc" class="section-content-info-wrapper">
+ {{$desc}}
+ </div>
+ {{foreach $all_channels as $chn}}
+ {{include file="channel.tpl" channel=$chn}}
+ {{/foreach}}
+ {{if $delegates}}
+ {{foreach $delegates as $chn}}
+ {{include file="channel.tpl" channel=$chn}}
+ {{/foreach}}
+ {{/if}}
+ </div>
+</div>