Commit graph

9 commits

Author SHA1 Message Date
GitLab Bot
953eb09e08 Add latest changes from gitlab-org/gitlab@master 2022-04-13 18:08:33 +00:00
GitLab Bot
475d5a7a17 Add latest changes from gitlab-org/gitlab@master 2022-03-03 00:20:18 +00:00
GitLab Bot
104ac5e939 Add latest changes from gitlab-org/gitlab@master 2022-01-18 03:11:34 +00:00
GitLab Bot
63a014fe28 Add latest changes from gitlab-org/gitlab@master 2021-09-21 09:12:21 +00:00
GitLab Bot
0ae8428c8e Add latest changes from gitlab-org/gitlab@master 2021-05-11 21:10:21 +00:00
GitLab Bot
8f71e69fdb Add latest changes from gitlab-org/gitlab@master 2020-10-13 06:09:09 +00:00
GitLab Bot
b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Jan Provaznik
4df0e2599b Fix display of promote to group label
Since label presenter is used in label index view, label class
check doesn't work as expected because the class is now LabelPresenter.

Also `label.subject` doesn't work as expected now because Label's model
`subject` method is shadowed by Gitlab's presenter's method which uses
`subject` for referencing the original object.

Instead we use a presenter's method for both checks now.

`label_deletion_confirm_text` is not used anywhere so it's removed
2019-05-28 10:05:20 +00:00
Jan Provaznik
8ce4b6093a Move scoped_label into label presenter
When rendering a label we want to check 'scoped_label' feature
availability on a project/group where label is being used. For
this reason a label presenter is used in UI and information about
context project/group is passed to this presenter.
2019-04-23 19:58:20 +00:00