|
75 | 75 | {{end}}
|
76 | 76 |
|
77 | 77 | {{if .ContextUser.IsOrganization}}
|
78 |
| - <a class="{{if .PageIsNews}}active{{end}} item" style="margin-left: auto" href="{{.ContextUser.DashboardLink}}{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
79 |
| - {{svg "octicon-rss"}} {{.i18n.Tr "activities"}} |
80 |
| - </a> |
81 |
| - {{if not .UnitIssuesGlobalDisabled}} |
82 |
| - <a class="{{if .PageIsIssues}}active{{end}} item" href="{{.ContextUser.OrganisationLink}}/issues{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
83 |
| - {{svg "octicon-issue-opened"}} {{.i18n.Tr "issues"}} |
84 |
| - </a> |
85 |
| - {{end}} |
| 78 | + <div class="right stackable menu"> |
| 79 | + <a class="{{if .PageIsNews}}active{{end}} item" style="margin-left: auto" href="{{.ContextUser.DashboardLink}}{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
| 80 | + {{svg "octicon-rss"}} {{.i18n.Tr "activities"}} |
| 81 | + </a> |
| 82 | + {{if not .UnitIssuesGlobalDisabled}} |
| 83 | + <a class="{{if .PageIsIssues}}active{{end}} item" href="{{.ContextUser.OrganisationLink}}/issues{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
| 84 | + {{svg "octicon-issue-opened"}} {{.i18n.Tr "issues"}} |
| 85 | + </a> |
| 86 | + {{end}} |
86 | 87 | {{if not .UnitPullsGlobalDisabled}}
|
87 |
| - <a class="{{if .PageIsPulls}}active{{end}} item" href="{{.ContextUser.OrganisationLink}}/pulls{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
88 |
| - {{svg "octicon-git-pull-request"}} {{.i18n.Tr "pull_requests"}} |
89 |
| - </a> |
90 |
| - {{end}} |
91 |
| - {{if and .ShowMilestonesDashboardPage (not (and .UnitIssuesGlobalDisabled .UnitPullsGlobalDisabled))}} |
92 |
| - <a class="{{if .PageIsMilestonesDashboard}}active{{end}} item" href="{{.ContextUser.OrganisationLink}}/milestones{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
93 |
| - {{svg "octicon-milestone"}} {{.i18n.Tr "milestones"}} |
94 |
| - </a> |
95 |
| - {{end}} |
96 |
| - <div class="item"> |
97 |
| - <a class="ui primary basic button" href="{{.ContextUser.HomeLink}}" title='{{.i18n.Tr "home.view_home" .ContextUser.Name}}'> |
98 |
| - {{.i18n.Tr "home.view_home" (.ContextUser.ShortName 40)}} |
| 88 | + <a class="{{if .PageIsPulls}}active{{end}} item" href="{{.ContextUser.OrganisationLink}}/pulls{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
| 89 | + {{svg "octicon-git-pull-request"}} {{.i18n.Tr "pull_requests"}} |
| 90 | + </a> |
| 91 | + {{end}} |
| 92 | + {{if and .ShowMilestonesDashboardPage (not (and .UnitIssuesGlobalDisabled .UnitPullsGlobalDisabled))}} |
| 93 | + <a class="{{if .PageIsMilestonesDashboard}}active{{end}} item" href="{{.ContextUser.OrganisationLink}}/milestones{{if .Team}}/{{PathEscape .Team.Name}}{{end}}"> |
| 94 | + {{svg "octicon-milestone"}} {{.i18n.Tr "milestones"}} |
99 | 95 | </a>
|
| 96 | + {{end}} |
| 97 | + <div class="item"> |
| 98 | + <a class="ui primary basic button" href="{{.ContextUser.HomeLink}}" title='{{.i18n.Tr "home.view_home" .ContextUser.Name}}'> |
| 99 | + {{.i18n.Tr "home.view_home" (.ContextUser.ShortName 40)}} |
| 100 | + </a> |
100 | 101 | </div>
|
101 |
| - {{end}} |
| 102 | + </div> |
| 103 | + {{end}} |
102 | 104 | </div>
|
103 | 105 | </div>
|
104 | 106 | <div class="ui divider"></div>
|
0 commit comments