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
Jérome Perrin
gitlab-ce
Commits
61eb650d
Commit
61eb650d
authored
Sep 14, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename 'notes/notes' partial to 'notes/notes_with_form'
parent
cee230a1
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
7 deletions
+7
-7
app/views/commits/show.html.haml
app/views/commits/show.html.haml
+1
-1
app/views/issues/show.html.haml
app/views/issues/show.html.haml
+1
-1
app/views/merge_requests/_show.html.haml
app/views/merge_requests/_show.html.haml
+1
-1
app/views/merge_requests/show.js.haml
app/views/merge_requests/show.js.haml
+1
-1
app/views/notes/_notes_with_form.html.haml
app/views/notes/_notes_with_form.html.haml
+0
-0
app/views/projects/wall.html.haml
app/views/projects/wall.html.haml
+1
-1
app/views/snippets/show.html.haml
app/views/snippets/show.html.haml
+1
-1
app/views/wikis/show.html.haml
app/views/wikis/show.html.haml
+1
-1
No files found.
app/views/commits/show.html.haml
View file @
61eb650d
=
render
"commits/commit_box"
=
render
"commits/commit_box"
=
render
"commits/diffs"
,
diffs:
@commit
.
diffs
=
render
"commits/diffs"
,
diffs:
@commit
.
diffs
=
render
"notes/notes"
,
tid:
@commit
.
id
,
tt:
"commit"
=
render
"notes/notes
_with_form
"
,
tid:
@commit
.
id
,
tt:
"commit"
=
render
"notes/per_line_form"
=
render
"notes/per_line_form"
...
...
app/views/issues/show.html.haml
View file @
61eb650d
...
@@ -61,4 +61,4 @@
...
@@ -61,4 +61,4 @@
=
markdown
@issue
.
description
=
markdown
@issue
.
description
.issue_notes
#notes
=
render
"notes/notes"
,
tid:
@issue
.
id
,
tt:
"issue"
.issue_notes
#notes
=
render
"notes/notes
_with_form
"
,
tid:
@issue
.
id
,
tt:
"issue"
app/views/merge_requests/_show.html.haml
View file @
61eb650d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
Diff
Diff
.merge_request_notes
#notes
{
class:
(
controller
.
action_name
==
'show'
)
?
""
:
"hide"
}
.merge_request_notes
#notes
{
class:
(
controller
.
action_name
==
'show'
)
?
""
:
"hide"
}
=
render
(
"notes/notes"
,
tid:
@merge_request
.
id
,
tt:
"merge_request"
)
=
render
(
"notes/notes
_with_form
"
,
tid:
@merge_request
.
id
,
tt:
"merge_request"
)
.merge-request-diffs
.merge-request-diffs
=
render
"merge_requests/show/diffs"
if
@diffs
=
render
"merge_requests/show/diffs"
if
@diffs
.status
.status
...
...
app/views/merge_requests/show.js.haml
View file @
61eb650d
:plain
:plain
$(".merge-request-notes").html("
#{
escape_javascript
(
render
(
"notes/notes"
,
tid:
@merge_request
.
id
,
tt:
"merge_request"
)
)
}
");
$(".merge-request-notes").html("
#{
escape_javascript
(
render
notes
/
notes_with_form
", tid: @merge_request.id, tt: "
merge_request
"
)
}
");
app/views/notes/_notes.html.haml
→
app/views/notes/_notes
_with_form
.html.haml
View file @
61eb650d
File moved
app/views/projects/wall.html.haml
View file @
61eb650d
%div
.wall_page
%div
.wall_page
=
render
"notes/notes"
,
tid:
nil
,
tt:
"wall"
=
render
"notes/notes
_with_form
"
,
tid:
nil
,
tt:
"wall"
app/views/snippets/show.html.haml
View file @
61eb650d
...
@@ -17,4 +17,4 @@
...
@@ -17,4 +17,4 @@
%div
{
class:
current_user
.
dark_scheme
?
"black"
:
""
}
%div
{
class:
current_user
.
dark_scheme
?
"black"
:
""
}
=
raw
@snippet
.
colorize
(
options:
{
linenos:
'True'
})
=
raw
@snippet
.
colorize
(
options:
{
linenos:
'True'
})
=
render
"notes/notes"
,
tid:
@snippet
.
id
,
tt:
"snippet"
=
render
"notes/notes
_with_form
"
,
tid:
@snippet
.
id
,
tt:
"snippet"
app/views/wikis/show.html.haml
View file @
61eb650d
...
@@ -21,4 +21,4 @@
...
@@ -21,4 +21,4 @@
Delete this page
Delete this page
%hr
%hr
.wiki_notes
#notes
=
render
"notes/notes"
,
tid:
@wiki
.
id
,
tt:
"wiki"
.wiki_notes
#notes
=
render
"notes/notes
_with_form
"
,
tid:
@wiki
.
id
,
tt:
"wiki"
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