4df0e2599b
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 |
||
---|---|---|
.. | ||
blobs | ||
ci | ||
clusters | ||
conversational_development_index | ||
projects/settings | ||
blob_presenter_spec.rb | ||
clusterable_presenter_spec.rb | ||
commit_presenter_spec.rb | ||
commit_status_presenter_spec.rb | ||
group_clusterable_presenter_spec.rb | ||
group_member_presenter_spec.rb | ||
label_presenter_spec.rb | ||
merge_request_presenter_spec.rb | ||
project_clusterable_presenter_spec.rb | ||
project_member_presenter_spec.rb | ||
project_presenter_spec.rb |