summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-13 14:43:22 +0000
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-13 14:43:22 +0000
commit5a68a96ecb3cdba0e3da7aa210f98369e02359ab (patch)
tree36c24fa93e483a350177e804399405bac3f5be8f /app/views/shared/milestones
parente5f3696774d893bc2a83086939b090edd1775118 (diff)
downloadgitlab-ce-5a68a96ecb3cdba0e3da7aa210f98369e02359ab.tar.gz
i8n
Diffstat (limited to 'app/views/shared/milestones')
-rw-r--r--app/views/shared/milestones/_deprecation_message.html.haml30
1 files changed, 11 insertions, 19 deletions
diff --git a/app/views/shared/milestones/_deprecation_message.html.haml b/app/views/shared/milestones/_deprecation_message.html.haml
index c32fca296bc..363ce62b73c 100644
--- a/app/views/shared/milestones/_deprecation_message.html.haml
+++ b/app/views/shared/milestones/_deprecation_message.html.haml
@@ -1,23 +1,15 @@
.milestone-deprecation-message.prepend-top-default.prepend-left-default
.illustration.inline= image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-default'
- .inline.vertical-align-middle.text-container
- %strong This page will be removed in a future release.
+ .inline.vertical-align-middle
+ %strong= _('This page will be removed in a future release.')
%p.append-bottom-default.prepend-top-5
- Use group milestones to manage issues from multiple projects in the same milestone.
+ = _('Use group milestones to manage issues from multiple projects in the same milestone.')
%br
- = button_tag 'Promote these project milestones into a group milestone.', class: 'btn-link'
-
- .popup.hide
- .body
- %ol.instructions-list
- %li
- Click any
- %strong project name
- in the project list below to navigate to the project milestone.
- %li
- Click the
- %strong Promote
- button in the top right corner to promote it to a group milestone.
- .footer= link_to 'Learn more', help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn-link'
-
- %div= link_to 'Learn more', help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn btn-default'
+ = button_tag _('Promote these project milestones into a group milestone.'), class: 'btn-link popover-link'
+ %div= link_to _('Learn more'), help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn btn-default'
+
+ %script.milestone-deprecation-message-template{ type: 'text/template' }
+ %ol.instructions-list.append-bottom-0
+ %li= _('Click any <strong>project name</strong> in the project list below to navigate to the project milestone.')
+ %li= _('Click the <strong>Promote</strong> button in the top right corner to promote it to a group milestone.')
+ .footer= link_to _('Learn more'), help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn-link' \ No newline at end of file