debian-mirror-gitlab/app/views/admin/labels/index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.2 KiB
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
- page_title _("Labels")
2016-06-02 11:05:42 +05:30
%div
2021-04-17 20:07:23 +05:30
= link_to new_admin_label_path, class: "float-right btn gl-button btn-confirm" do
2018-11-08 19:23:39 +05:30
= _('New label')
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display
2018-11-08 19:23:39 +05:30
= _('Labels')
2015-09-25 12:07:36 +05:30
%hr
2022-01-26 12:08:38 +05:30
- if @labels.present?
.labels.labels-container.admin-labels.js-admin-labels-container.gl-bg-gray-10.gl-border-solid.gl-border-1.gl-border-gray-100
2018-11-18 11:00:15 +05:30
%ul.manage-labels-list
2015-09-25 12:07:36 +05:30
= render @labels
2018-11-18 11:00:15 +05:30
2015-09-25 12:07:36 +05:30
= paginate @labels, theme: 'gitlab'
2021-04-17 20:07:23 +05:30
2022-01-26 12:08:38 +05:30
.js-admin-labels-empty-state{ class: ('gl-display-none' if @labels.present?) }
%section.row.empty-state.gl-text-center
.col-12
.svg-content
= image_tag 'illustrations/labels.svg'
.col-12
.gl-mx-auto.gl-my-0.gl-p-5
%h1.gl-font-size-h-display.gl-line-height-36.h4
= s_('AdminLabels|Define your default set of project labels')
%p.gl-mb-0
= s_('AdminLabels|Labels created here will be automatically added to new projects.')
%p
= s_('AdminLabels|They can be used to categorize issues and merge requests.')
.gl-display-flex.gl-flex-wrap.gl-justify-content-center
= link_to new_admin_label_path, class: "btn gl-mb-3 btn-confirm btn-md gl-button gl-mx-2" do
%span.gl-button-text
= _('New label')