Browse Source

Make side nav on dashboard stackable (#1778)

for-closed-social
Patrick G 7 years ago
committed by Bo-Yi Wu
parent
commit
cc2071c3fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/user/dashboard/dashboard.tmpl

+ 1
- 1
templates/user/dashboard/dashboard.tmpl View File

@ -8,7 +8,7 @@
{{template "user/dashboard/feeds" .}} {{template "user/dashboard/feeds" .}}
</div> </div>
<div id="dashboard-repo-search" class="six wide column"> <div id="dashboard-repo-search" class="six wide column">
<div class="ui {{if not .ContextUser.IsOrganization}}three{{else}}two{{end}} item tabable menu">
<div class="ui {{if not .ContextUser.IsOrganization}}three{{else}}two{{end}} item stackable tabable menu">
<a :class="{item: true, active: tab === 'repos'}" @click="changeTab('repos')">{{.i18n.Tr "repository"}}</a> <a :class="{item: true, active: tab === 'repos'}" @click="changeTab('repos')">{{.i18n.Tr "repository"}}</a>
{{if not .ContextUser.IsOrganization}} {{if not .ContextUser.IsOrganization}}
<a :class="{item: true, active: tab === 'orgs'}" @click="changeTab('orgs')">{{.i18n.Tr "organization"}}</a> <a :class="{item: true, active: tab === 'orgs'}" @click="changeTab('orgs')">{{.i18n.Tr "organization"}}</a>

Loading…
Cancel
Save