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
3c02c93f
Commit
3c02c93f
authored
Sep 14, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 'notes/load' partial
parent
8fb70d92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
app/views/notes/_load.js.haml
app/views/notes/_load.js.haml
+0
-17
app/views/notes/index.js.haml
app/views/notes/index.js.haml
+17
-1
No files found.
app/views/notes/_load.js.haml
deleted
100644 → 0
View file @
8fb70d92
-
unless
@notes
.
blank?
-
if
loading_more_notes?
:plain
NoteList.appendMoreNotes(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes_list'
)
}
");
-
elsif
loading_new_notes?
:plain
NoteList.replaceNewNotes("
#{
escape_javascript
(
render
'notes/notes_list'
)
}
");
-
else
:plain
NoteList.setContent(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes_list'
)
}
");
-
else
-
if
loading_more_notes?
:plain
NoteList.finishedLoadingMore();
app/views/notes/index.js.haml
View file @
3c02c93f
=
render
"notes/load"
-
unless
@notes
.
blank?
-
if
loading_more_notes?
:plain
NoteList.appendMoreNotes(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes_list'
)
}
");
-
elsif
loading_new_notes?
:plain
NoteList.replaceNewNotes("
#{
escape_javascript
(
render
'notes/notes_list'
)
}
");
-
else
:plain
NoteList.setContent(
#{
@notes
.
last
.
id
}
, "
#{
escape_javascript
(
render
'notes/notes_list'
)
}
");
-
else
-
if
loading_more_notes?
:plain
NoteList.finishedLoadingMore();
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