You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

labels.tmpl 836B

12345678910111213141516171819202122
  1. {{template "base/head" .}}
  2. <div role="main" aria-label="{{.Title}}" class="page-content repository labels">
  3. {{template "repo/header" .}}
  4. <div class="ui container">
  5. <div class="navbar gt-mb-4">
  6. {{template "repo/issue/navbar" .}}
  7. {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
  8. <button class="ui small primary new-label button">{{ctx.Locale.Tr "repo.issues.new_label"}}</button>
  9. {{end}}
  10. </div>
  11. {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
  12. {{template "repo/issue/labels/label_new" .}}
  13. {{end}}
  14. {{template "base/alert" .}}
  15. {{template "repo/issue/labels/label_list" .}}
  16. </div>
  17. </div>
  18. {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}}
  19. {{template "repo/issue/labels/edit_delete_label" .}}
  20. {{end}}
  21. {{template "base/footer" .}}