-
- Downloads
Merge branch 'gitlab-ce-milestone-tab-badges' into 'master'
Milestone tab badges ### What does this MR do? Adds count badges to the tabs on the Milestone page to mirror the Issue page. ### Are there points in the code the reviewer needs to double check? CSS: Padding was added to the `.milestone` element to make expired milestones look good. ### Why was this MR needed? For consistency with other tabs ### What are the relevant issue numbers? Closes #20114 ### Screenshots (if relevant) **Before** <img src="/uploads/1f75853a863a9058ee409916b7ee4057/Screen_Shot_2016-07-22_at_13.22.20.png" width="362"> **After** <img src="/uploads/8a058290850f571db249dd9b23f5138d/Screen_Shot_2016-07-22_at_13.21.58.png" width="303">   ### Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5946
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/assets/stylesheets/pages/milestone.scss 21 additions, 6 deletionsapp/assets/stylesheets/pages/milestone.scss
- app/helpers/milestones_helper.rb 24 additions, 0 deletionsapp/helpers/milestones_helper.rb
- app/views/shared/_milestones_filter.html.haml 12 additions, 3 deletionsapp/views/shared/_milestones_filter.html.haml
- app/views/shared/milestones/_milestone.html.haml 1 addition, 1 deletionapp/views/shared/milestones/_milestone.html.haml
- spec/factories/milestones.rb 6 additions, 1 deletionspec/factories/milestones.rb
- spec/helpers/milestones_helper_spec.rb 33 additions, 0 deletionsspec/helpers/milestones_helper_spec.rb
spec/helpers/milestones_helper_spec.rb
0 → 100644
Please register or sign in to comment