forked from kevadesu/forgejo
ui: switch redesign (#6459)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6459 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
parent
68d690b6b9
commit
a23cf58d47
4 changed files with 28 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
<h2 class="ui compact small menu small-menu-items issue-list-navbar">
|
||||
<div class="switch">
|
||||
<a class="{{if .PageIsLabels}}active {{end}}item" href="{{.RepoLink}}/labels">{{ctx.Locale.Tr "repo.labels"}}</a>
|
||||
<a class="{{if .PageIsMilestones}}active {{end}}item" href="{{.RepoLink}}/milestones">{{ctx.Locale.Tr "repo.milestones"}}</a>
|
||||
</h2>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="small-menu-items ui compact tiny menu">
|
||||
<div class="switch">
|
||||
<a class="{{if eq .State "open"}}active {{end}}item" href="{{.OpenLink}}" data-test-name="open-issue-count">
|
||||
{{if .PageIsMilestones}}
|
||||
{{svg "octicon-milestone" 16 "tw-mr-2"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue