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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
270434f7
Commit
270434f7
authored
Oct 13, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Loads GFM once for per page
#22827
parent
45614934
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
CHANGELOG
CHANGELOG
+1
-0
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+1
-0
app/views/projects/_zen.html.haml
app/views/projects/_zen.html.haml
+1
-3
No files found.
CHANGELOG
View file @
270434f7
...
...
@@ -116,6 +116,7 @@ v 8.13.0 (unreleased)
v 8.12.7
- Use gitlab-markup gem instead of github-markup to fix `.rst` file rendering. !6659
- Fix GFM autocomplete setup being called several times
v 8.12.6
- Update mailroom to 0.8.1 in Gemfile.lock !6814
...
...
app/views/layouts/application.html.haml
View file @
270434f7
...
...
@@ -11,3 +11,4 @@
=
render
'layouts/page'
,
sidebar:
sidebar
,
nav:
nav
=
yield
:scripts_body
=
render
"layouts/init_auto_complete"
if
@gfm_form
app/views/projects/_zen.html.haml
View file @
270434f7
-
@gfm_form
=
true
-
supports_slash_commands
=
local_assigns
.
fetch
(
:supports_slash_commands
,
false
)
.zen-backdrop
-
classes
<<
' js-gfm-input js-autosize markdown-area'
...
...
@@ -7,6 +8,3 @@
=
text_area_tag
attr
,
nil
,
class:
classes
,
placeholder:
placeholder
%a
.zen-control.zen-control-leave.js-zen-leave
{
href:
"#"
}
=
icon
(
'compress'
)
-
content_for
:scripts_body
do
=
render
"layouts/init_auto_complete"
if
current_user
&&
(
@target_project
||
@project
)
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