Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2018-02-20 22:43:37 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2018-03-02 01:10:04 +0300
commit84e01b3e7a521c66077245a62247bd47a3731ddb (patch)
tree16a3be2872fd365f9606fc39765fce285a619dca /app/views/shared/milestones/_milestone.html.haml
parentd5c001864964afb73efca0c6b592f8a1e4d152b9 (diff)
Changed selector names, address code concerns
Diffstat (limited to 'app/views/shared/milestones/_milestone.html.haml')
-rw-r--r--app/views/shared/milestones/_milestone.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/milestones/_milestone.html.haml b/app/views/shared/milestones/_milestone.html.haml
index 6245a4445a4..7a23f79d8c5 100644
--- a/app/views/shared/milestones/_milestone.html.haml
+++ b/app/views/shared/milestones/_milestone.html.haml
@@ -51,14 +51,14 @@
\
- if @project.group
- %a.js-promote-project-milestone.btn.btn-xs.btn-grouped.has-tooltip{ title: _('Promote to Group Milestone'),
+ %a.js-promote-project-milestone-button.btn.btn-xs.btn-grouped.has-tooltip{ title: _('Promote to Group Milestone'),
data: { url: promote_project_milestone_path(milestone.project, milestone),
milestone_title: milestone.title,
target: '#promote-milestone-modal',
container: 'body',
toggle: 'modal' },
disabled: true }
- Promote
+ = _('Promote')
= link_to 'Close Milestone', project_milestone_path(@project, milestone, milestone: {state_event: :close }), method: :put, remote: true, class: "btn btn-xs btn-close btn-grouped"