summaryrefslogtreecommitdiff
path: root/app/helpers/labels_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42GitLab Bot2022-03-181-24/+2
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-21/+21
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-23/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-271-13/+11
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-251-19/+63
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-191-6/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-251-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Fix HTML injection for label descriptionPatrick Derichs2019-08-051-1/+1
| | | | | | Add changelog entry Add spec
* Remove project from show_label_issuables_link?62217-follow-up-from-fix-display-of-promote-to-group-labelHeinrich Lee Yu2019-07-231-3/+2
| | | | The project param is unnecessary here
* Fix inconsistent capitalization in label colorsHeinrich Lee Yu2019-05-301-2/+2
|
* Fix for #61788 predefined colours dont have descriptive labelsChris Toynbee2019-05-301-23/+33
|
* Fix display of promote to group labelJan Provaznik2019-05-281-9/+2
| | | | | | | | | | | | | 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
* Merge branch '10504-single-codebase-ce' into 'master'Sean McGivern2019-04-241-0/+4
|\ | | | | | | | | Add Epics in issuable list when EE See merge request gitlab-org/gitlab-ce!27545
| * Add Epics in issuable list when EERajat Jain2019-04-241-0/+4
| | | | | | | | | | Create a method in LabelsHelper which returns the correct list of `issuable_types` to the view.
* | Move scoped_label into label presenterJan Provaznik2019-04-231-39/+5
|/ | | | | | | 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.
* Hide overflow in scoped labelsRajat Jain2019-04-161-1/+1
| | | | | | Scoped labels overflew in all the places because of lack of restriction on `max-width`. This commit introduces the same limits on width we have inplace for regular labels
* Merge branch 'keyval-labels' into 'master'Sean McGivern2019-04-051-5/+50
|\ | | | | | | | | [CE] Add mutually exclusive labels See merge request gitlab-org/gitlab-ce!26804
| * Fix scoped_labels feature checkJan Provaznik2019-04-041-1/+7
| | | | | | | | | | Check this feature per project/group instead of globally. Also do not show tooltip if it's disabled.
| * [backend] backport of scoped labelsJan Provaznik2019-04-041-5/+44
| | | | | | | | Scoped labels in EE require additional changes in CE code.
* | Externalize strings in helpersMartin Wortschack2019-04-041-2/+2
|/ | | | | - Update qa selector - Update PO file
* Sort labels alphabeticallyDmitriy Zaporozhets2019-02-211-0/+4
| | | | | | | | Sorts labels alphabetically on issues (and merge requests) list. Before it was order id desc. Now it will be consistent with sidebar and labels page. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix bug when links in tabs of the labels index pages ends with .htmlDmitriy Zaporozhets2018-10-311-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor labels_filter_path and labels navdz-labels-subscribe-filterDmitriy Zaporozhets2018-10-041-7/+13
| | | | | | | | | Refactor labels_filter_path method to be consistent with other similar methods like search_filter_path, milestones_filter_path etc. Also move repeating code in labels index page nav into shared partial Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Enable frozen string for app/helpers/**/*.rbgfyoung2018-09-061-0/+2
| | | | Partially addresses #47424.
* Tidy tooltip_title and fix dropdown open leftLuke Bennett2018-05-291-7/+5
|
* Tidy tooltip_title and fix for signed out userLuke Bennett2018-05-291-0/+10
|
* Set .bdage for labelshelperbootstrap4Clement Ho2018-04-131-1/+1
|
* Allow assigning and filtering issuables by ancestor group labelsFelipe Artur2018-04-041-3/+7
|
* Add helpers for labels dropdownKushal Pandya2018-03-121-0/+33
|
* Allow exposing methods to `gon_helper`Kushal Pandya2018-03-051-0/+1
|
* Hide issues and MRs in labels list if disabledsophie-h/gitlab-ce-patch-15Sophie Herold2017-12-111-0/+7
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Group boards CE backportFelipe Artur2017-08-281-3/+4
|
* Re-enable SqlInjection and CommandInjectionBrian Neel2017-08-081-2/+2
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-5/+5
|
* Fix LabelsHelper#toggle_subscription_label_pathDouglas Barbosa Alexandre2017-06-261-4/+6
|
* Fix LabelsHelper#can_subscribe_to_label_in_different_levelsDouglas Barbosa Alexandre2017-06-261-1/+1
|
* Add can_subscribe_to_label_in_different_levels helper methodDouglas Barbosa Alexandre2017-06-261-0/+4
|
* Allow users to subscribe to group labels on group labels pageDouglas Barbosa Alexandre2017-06-261-6/+7
|
* Provide default for calculating label text color (!11681)winh2017-05-251-3/+2
|
* Add shorthand support to gitlab markdown referencesOswaldo Ferreira2016-12-021-8/+1
|
* Avoid code duplication for label subscription status on label partialDouglas Barbosa Alexandre2016-11-171-6/+2
|
* Allow users to subscribe to a group label at group or project levelDouglas Barbosa Alexandre2016-11-171-0/+14
|
* Use button instead of an icon to subscribe/unsubscribe to labelsDouglas Barbosa Alexandre2016-11-171-6/+0
|
* Allow users to subscribe to group labels at project-levelDouglas Barbosa Alexandre2016-11-171-12/+4
|
* Refactoring label subscription toggle button text to accept a projectDouglas Barbosa Alexandre2016-11-171-2/+2
|
* Refactoring label subscription status to accept a projectDouglas Barbosa Alexandre2016-11-171-2/+2
|
* Disable subscribing to group-level labelsDouglas Barbosa Alexandre2016-10-191-7/+14
|
* Warn user deleting a group label affect all projects within the groupDouglas Barbosa Alexandre2016-10-191-0/+7
|