diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-18 17:11:32 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-18 17:11:32 +0300 |
commit | b0df1ed4884a16c5c45800031667e0dd3251c978 (patch) | |
tree | f4ce4f9a10ab9c2d01902325b99b8f8f515cd000 /app/views/projects/cycle_analytics | |
parent | 7963c2c25114e871eb42c0859b6d24fc37437a8a (diff) |
Make the locale file page specific
Diffstat (limited to 'app/views/projects/cycle_analytics')
-rw-r--r-- | app/views/projects/cycle_analytics/show.html.haml | 4 |
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 |