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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
4fc66ead
Commit
4fc66ead
authored
Sep 14, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename 'notes/show' partial to 'notes/note'
parent
29c71f2f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/notes/_create_common_note.js.haml
app/views/notes/_create_common_note.js.haml
+1
-1
app/views/notes/_note.html.haml
app/views/notes/_note.html.haml
+0
-0
app/views/notes/_notes_list.html.haml
app/views/notes/_notes_list.html.haml
+1
-1
app/views/notes/_per_line_show.html.haml
app/views/notes/_per_line_show.html.haml
+1
-1
No files found.
app/views/notes/_create_common_note.js.haml
View file @
4fc66ead
...
...
@@ -5,7 +5,7 @@
$('.note-form-holder #preview-link').text('Preview');
$('.note-form-holder #preview-note').hide();
$('.note-form-holder').show();
NoteList.appendNewNote(
#{
note
.
id
}
, "
#{
escape_javascript
(
render
"notes/
show
"
,
note:
note
)
}
");
NoteList.appendNewNote(
#{
note
.
id
}
, "
#{
escape_javascript
(
render
"notes/
note
"
,
note:
note
)
}
");
-
else
:plain
...
...
app/views/notes/_
show
.html.haml
→
app/views/notes/_
note
.html.haml
View file @
4fc66ead
File moved
app/views/notes/_notes_list.html.haml
View file @
4fc66ead
-
@notes
.
each
do
|
note
|
-
next
unless
note
.
author
=
render
partial:
"notes/show"
,
locals:
{
note:
note
}
=
render
"notes/note"
,
note:
note
app/views/notes/_per_line_show.html.haml
View file @
4fc66ead
%tr
.line_notes_row
%td
{
colspan:
3
}
%ul
=
render
"notes/
show
"
,
note:
note
=
render
"notes/
note
"
,
note:
note
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