Add label description and show label row when filtering issues or merge requests by label
This MR is an attempt to address #13498 (closed). It contains 2 major changes
Add description to Label model
-
Add description to label forms both create and update for each project and for admin
-
Add description to Label list page for project and admin as well. Markdown is supported for the description.
Add label row under issue/merge_request filter when filter by label
Note that there's new partial created for this change at shared/_label_row
. I have made a change to CSS class here visibletrap/gitlab-ce@2e81b155. This effects 2 files
$ grep manage-labels-list ./app -R
./app/views/admin/labels/index.html.haml: %ul.bordered-list.manage-labels-list
./app/views/projects/labels/index.html.haml: %ul.content-list.manage-labels-list
$ grep label-row ./app -R
./app/assets/stylesheets/pages/labels.scss:.label-row {
./app/views/admin/labels/_label.html.haml: .label-row
./app/views/shared/_label_row.html.haml:.label-row