summaryrefslogtreecommitdiff
path: root/app/views/projects/cycle_analytics
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-18 15:11:32 +0100
committerPhil Hughes <me@iamphill.com>2017-04-18 15:11:32 +0100
commitb0df1ed4884a16c5c45800031667e0dd3251c978 (patch)
treef4ce4f9a10ab9c2d01902325b99b8f8f515cd000 /app/views/projects/cycle_analytics
parent7963c2c25114e871eb42c0859b6d24fc37437a8a (diff)
downloadgitlab-ce-b0df1ed4884a16c5c45800031667e0dd3251c978.tar.gz
Make the locale file page specific
Diffstat (limited to 'app/views/projects/cycle_analytics')
-rw-r--r--app/views/projects/cycle_analytics/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml
index 47fde758ffc..a0a629eaa41 100644
--- a/app/views/projects/cycle_analytics/show.html.haml
+++ b/app/views/projects/cycle_analytics/show.html.haml
@@ -2,6 +2,7 @@
- page_title "Cycle Analytics"
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_vue')
+ = page_specific_javascript_bundle_tag('locale')
= page_specific_javascript_bundle_tag('cycle_analytics')
= render "projects/head"
@@ -19,7 +20,8 @@
%p
{{ 'Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.' | translate }}
- = link_to "Read more", help_page_path('user/project/cycle_analytics'), target: '_blank', class: 'btn'
+ = link_to help_page_path('user/project/cycle_analytics'), target: '_blank', class: 'btn' do
+ {{ 'Read more' | translate }}
= icon("spinner spin", "v-show" => "isLoading")
.wrapper{ "v-show" => "!isLoading && !hasError" }
.panel.panel-default