internal/web/templates/orglabels.html

55d8573ae49fba7d7deec20f4327e7101598bcac
gitbay/internal/web/templates/orglabels.html

15 lines · 828 bytes

 1{{define "title"}}labels · {{.Org}}{{end}}
 2{{define "content"}}
 3<h1><a href="/{{.Org}}">{{.Org}}</a> labels</h1>
 4<p class="meta">Every repository under {{.Org}} sees these beside its own. Managed with <code>gitbay org label set {{.Org}} &lt;label&gt;</code>; counts span the repositories you can read.</p>
 5{{if .Labels}}<div class="tablewrap"><table class="keys">
 6<tr class="cols"><th scope="col">label</th><th scope="col">colour</th><th scope="col">issues</th><th scope="col">merge requests</th></tr>
 7{{range .Labels}}<tr>
 8  <td><span class="chip label" style="{{index $.LabelColors .Name}}">{{.Name}}</span></td>
 9  <td><span class="mono">{{if .Color}}{{.Color}}{{else}}—{{end}}</span></td>
10  <td>{{.Issues}}</td>
11  <td>{{.MRs}}</td>
12</tr>
13{{end}}</table></div>
14{{else}}<p class="none">No org labels yet.</p>{{end}}
15{{end}}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form