aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/channels.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-09-23 20:54:36 +0200
committerMario <mario@mariovavti.com>2018-09-23 20:54:36 +0200
commite735220691366fb29276dbc3f47ad0347c40aaf5 (patch)
tree96356b53d5ccece30f9ed329ccfbca5d10280cd5 /view/tpl/channels.tpl
parent9b7c6e96f79ef1b2dc9d71d18db816ffd99f644c (diff)
downloadvolse-hubzilla-e735220691366fb29276dbc3f47ad0347c40aaf5.tar.gz
volse-hubzilla-e735220691366fb29276dbc3f47ad0347c40aaf5.tar.bz2
volse-hubzilla-e735220691366fb29276dbc3f47ad0347c40aaf5.zip
only explain how to select a channel if there are channels to select
Diffstat (limited to 'view/tpl/channels.tpl')
-rwxr-xr-xview/tpl/channels.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl
index f484b49e5..695b3b30f 100755
--- a/view/tpl/channels.tpl
+++ b/view/tpl/channels.tpl
@@ -9,9 +9,11 @@
{{$channel_usage_message}}
</div>
{{/if}}
+ {{if $desc}}
<div id="channels-desc" class="section-content-info-wrapper">
{{$desc}}
</div>
+ {{/if}}
{{foreach $all_channels as $chn}}
{{include file="channel.tpl" channel=$chn}}
{{/foreach}}