BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
_create_common_note.js.haml
app/views/notes/_create_common_note.js.haml
+1
-1
_note.html.haml
app/views/notes/_note.html.haml
+0
-0
_notes_list.html.haml
app/views/notes/_notes_list.html.haml
+1
-1
_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 @@
...
@@ -5,7 +5,7 @@
$('.note-form-holder #preview-link').text('Preview');
$('.note-form-holder #preview-link').text('Preview');
$('.note-form-holder #preview-note').hide();
$('.note-form-holder #preview-note').hide();
$('.note-form-holder').show();
$('.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
-
else
:plain
: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
|
-
@notes
.
each
do
|
note
|
-
next
unless
note
.
author
-
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
%tr
.line_notes_row
%td
{
colspan:
3
}
%td
{
colspan:
3
}
%ul
%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