aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-18 20:03:48 -0700
committerfriendica <info@friendica.com>2014-08-18 20:03:48 -0700
commitb522ab13cbf7653dcc5e0f91b10eed0a63560ecb (patch)
treefa32709a73ae73c4300b29128f1312ef5833d4d6 /view
parentd9ff121930554aa9bcad4f4ceffeb9b5e3b83d17 (diff)
downloadvolse-hubzilla-b522ab13cbf7653dcc5e0f91b10eed0a63560ecb.tar.gz
volse-hubzilla-b522ab13cbf7653dcc5e0f91b10eed0a63560ecb.tar.bz2
volse-hubzilla-b522ab13cbf7653dcc5e0f91b10eed0a63560ecb.zip
nav channel selection
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css2
-rwxr-xr-xview/tpl/nav.tpl7
2 files changed, 8 insertions, 1 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 889988d48..478f1efee 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -177,6 +177,8 @@ nav #banner #logo-text a {
}
nav #banner #logo-text a:hover { text-decoration: none; }
+.nav-channel-select { margin-left: 8px; }
+
header #banner {
/* overflow: hidden; */
text-align: center;
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 0602c72af..2953f3b41 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -20,8 +20,13 @@
{{/foreach}}
<li role="presentation" class="divider"></li>
{{if $nav.profiles}}<li role="presentation"><a href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" role="menuitem">{{$nav.profiles.1}}</a></li>{{/if}}
- {{if $nav.manage}}<li role="presentation"><a href="{{$nav.manage.0}}" title="{{$nav.manage.3}}" role="menuitem">{{$nav.manage.1}}</a></li>{{/if}}
{{if $nav.settings}}<li role="presentation"><a href="{{$nav.settings.0}}" title="{{$nav.settings.3}}" role="menuitem">{{$nav.settings.1}}</a></li>{{/if}}
+ {{if $nav.manage}}<li role="presentation"><a href="{{$nav.manage.0}}" title="{{$nav.manage.3}}" role="menuitem">{{$nav.manage.1}}</a></li>{{/if}}
+ {{if $nav.channels}}
+ {{foreach $nav.channels as $chan}}
+ <li role="presentation" class="nav-channel-select"><a href="manage/{{$chan.channel_id}}" title="{{$chan.channel_name}}" role="menuitem">{{$chan.channel_name}}</a></li>
+ {{/foreach}}
+ {{/if}}
{{if $nav.admin}}
<li role="presentation" class="divider"></li>
<li role="presentation"><a href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" role="menuitem">{{$nav.admin.1}}</a></li>