Commit graph

7 commits

Author SHA1 Message Date
GitLab Bot
d89b82481b Add latest changes from gitlab-org/gitlab@master 2021-04-21 09:09:15 +00:00
GitLab Bot
8f71e69fdb Add latest changes from gitlab-org/gitlab@master 2020-10-13 06:09:09 +00:00
GitLab Bot
fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot
56201db1dc Add latest changes from gitlab-org/gitlab@master 2020-02-17 03:09:00 +00:00
GitLab Bot
e723867717 Add latest changes from gitlab-org/gitlab@master 2019-12-17 18:07:48 +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