mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 13:44:06 +01:00
19a1e1b20e
Each change is tested manually line by line. There are too many changes so I can't share dozens of screenshots. In short: 1. `ui right` could be still used in `ui top attached header`, because there is a special case. 2. A lot of `ui right` are just no-op, so they can be removed safely. 3. Some of the `ui right` should be replaced by `gt-float-right` (to avoid breaking, leave them to the future). 4. A few of the `ui right` could be rewritten by flex.
22 lines
831 B
Handlebars
22 lines
831 B
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository labels">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<div class="navbar gt-mb-4">
|
|
{{template "repo/issue/navbar" .}}
|
|
{{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
|
|
<button class="ui small green new-label button">{{.locale.Tr "repo.issues.new_label"}}</button>
|
|
{{end}}
|
|
</div>
|
|
{{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
|
|
{{template "repo/issue/labels/label_new" .}}
|
|
{{end}}
|
|
{{template "base/alert" .}}
|
|
{{template "repo/issue/labels/label_list" .}}
|
|
</div>
|
|
</div>
|
|
|
|
{{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
|
|
{{template "repo/issue/labels/edit_delete_label" .}}
|
|
{{end}}
|
|
{{template "base/footer" .}}
|