diff options
author | redmatrix <git@macgirvin.com> | 2016-03-21 21:32:35 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-21 21:32:35 -0700 |
commit | b081c3e94b9d02b5df024f18e8940ab59ac5bae9 (patch) | |
tree | 5b9876dc624a83f21aa94eccff0e349352202e39 /view/tpl/channels.tpl | |
parent | ec99e3ed625110452a694d16f937c35a8d1ba817 (diff) | |
parent | 97e1a6dfde7d8d8e23d463ab22f24011cbce0d8c (diff) | |
download | volse-hubzilla-b081c3e94b9d02b5df024f18e8940ab59ac5bae9.tar.gz volse-hubzilla-b081c3e94b9d02b5df024f18e8940ab59ac5bae9.tar.bz2 volse-hubzilla-b081c3e94b9d02b5df024f18e8940ab59ac5bae9.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'view/tpl/channels.tpl')
-rwxr-xr-x | view/tpl/channels.tpl | 60 |
1 files changed, 23 insertions, 37 deletions
diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl index 44daa0a3e..be9017bff 100755 --- a/view/tpl/channels.tpl +++ b/view/tpl/channels.tpl @@ -1,38 +1,24 @@ -<div class="generic-content-wrapper-styled"> -<h3>{{$header}}</h3> - -{{if $links}} -{{foreach $links as $l}} -<a class="channels-links" href="{{$l.0}}" title="{{$l.1}}">{{$l.2}}</a> -{{/foreach}} -{{/if}} -<div class="channels-break"></div> - -{{if $channel_usage_message}} -<div id="channel-usage-message" class="usage-message"> -{{$channel_usage_message}} -</div> -{{/if}} -<div id="channels-desc" class="descriptive-text">{{$desc}}</div> - -<div id="all-channels"> -{{foreach $all_channels as $chn}} -{{include file="channel.tpl" channel=$chn}} -{{/foreach}} -</div> - -<div class="channels-end all"></div> - -{{if $delegates}} -<hr /> -<h3>{{$delegate_header}}</h3> -<div id="delegated-channels"> -{{foreach $delegates as $chn}} -{{include file="channel.tpl" channel=$chn}} -{{/foreach}} -</div> - -<div class="channels-end all"></div> -{{/if}} - +<div class="generic-content-wrapper"> + <div class="section-title-wrapper"> + <a class="btn btn-success btn-xs pull-right" href="{{$create.0}}" title="{{$create.1}}">{{$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> |