Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
b0df1ed4
Commit
b0df1ed4
authored
Apr 18, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the locale file page specific
parent
7963c2c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+0
-1
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+3
-1
No files found.
app/views/layouts/_head.html.haml
View file @
b0df1ed4
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
=
webpack_bundle_tag
"runtime"
=
webpack_bundle_tag
"runtime"
=
webpack_bundle_tag
"common"
=
webpack_bundle_tag
"common"
=
webpack_bundle_tag
"main"
=
webpack_bundle_tag
"main"
=
webpack_bundle_tag
"locale"
-
if
content_for?
(
:page_specific_javascripts
)
-
if
content_for?
(
:page_specific_javascripts
)
=
yield
:page_specific_javascripts
=
yield
:page_specific_javascripts
...
...
app/views/projects/cycle_analytics/show.html.haml
View file @
b0df1ed4
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
-
page_title
"Cycle Analytics"
-
page_title
"Cycle Analytics"
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
=
page_specific_javascript_bundle_tag
(
'locale'
)
=
page_specific_javascript_bundle_tag
(
'cycle_analytics'
)
=
page_specific_javascript_bundle_tag
(
'cycle_analytics'
)
=
render
"projects/head"
=
render
"projects/head"
...
@@ -19,7 +20,8 @@
...
@@ -19,7 +20,8 @@
%p
%p
{{ 'Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.' | translate }}
{{ '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"
)
=
icon
(
"spinner spin"
,
"v-show"
=>
"isLoading"
)
.wrapper
{
"v-show"
=>
"!isLoading && !hasError"
}
.wrapper
{
"v-show"
=>
"!isLoading && !hasError"
}
.panel.panel-default
.panel.panel-default
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment