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
Léo-Paul Géneau
gitlab-ce
Commits
dd1b3177
Commit
dd1b3177
authored
Sep 14, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed 'notes/notes_list' partial to 'notes/notes'
parent
4fc66ead
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/notes/_notes.html.haml
app/views/notes/_notes.html.haml
+1
-1
app/views/notes/index.js.haml
app/views/notes/index.js.haml
+3
-3
No files found.
app/views/notes/_notes
_list
.html.haml
→
app/views/notes/_notes.html.haml
View file @
dd1b3177
-
@notes
.
each
do
|
note
|
-
next
unless
note
.
author
=
render
"note
s/note
"
,
note:
note
=
render
"note"
,
note:
note
app/views/notes/index.js.haml
View file @
dd1b3177
-
unless
@notes
.
blank?
-
if
loading_more_notes?
:plain
NoteList.appendMoreNotes(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes
_list
'
)
}
");
NoteList.appendMoreNotes(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes'
)
}
");
-
elsif
loading_new_notes?
:plain
NoteList.replaceNewNotes("
#{
escape_javascript
(
render
'notes/notes
_list
'
)
}
");
NoteList.replaceNewNotes("
#{
escape_javascript
(
render
'notes/notes'
)
}
");
-
else
:plain
NoteList.setContent(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes
_list
'
)
}
");
NoteList.setContent(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes'
)
}
");
-
else
-
if
loading_more_notes?
...
...
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