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
Tatuya Kamada
gitlab-ce
Commits
70c4badf
Commit
70c4badf
authored
Feb 02, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename scripts_body_top to project_javascripts.
parent
f1bcf1e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+1
-1
app/views/layouts/project.html.haml
app/views/layouts/project.html.haml
+1
-1
No files found.
app/views/layouts/_head.html.haml
View file @
70c4badf
...
...
@@ -33,7 +33,7 @@
-
if
content_for?
(
:page_specific_javascripts
)
=
yield
:page_specific_javascripts
=
yield
:
scripts_body_top
=
yield
:
project_javascripts
=
csrf_meta_tags
...
...
app/views/layouts/project.html.haml
View file @
70c4badf
...
...
@@ -3,7 +3,7 @@
-
header_title
project_title
(
@project
)
unless
header_title
-
nav
"project"
-
content_for
:
scripts_body_top
do
-
content_for
:
project_javascripts
do
-
project
=
@target_project
||
@project
-
if
@project_wiki
&&
@page
-
preview_markdown_path
=
namespace_project_wiki_preview_markdown_path
(
project
.
namespace
,
project
,
@page
.
slug
)
...
...
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