summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/sections/notes.scss2
-rw-r--r--app/views/notes/_notes.html.haml3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss
index b2f61d9b624..8db889307dd 100644
--- a/app/assets/stylesheets/sections/notes.scss
+++ b/app/assets/stylesheets/sections/notes.scss
@@ -3,7 +3,7 @@
*
*/
#notes-list,
-#new_notes_list {
+#new-notes-list {
display:block;
list-style:none;
margin:0px;
diff --git a/app/views/notes/_notes.html.haml b/app/views/notes/_notes.html.haml
index e5b1ea72650..14e1e84ba7f 100644
--- a/app/views/notes/_notes.html.haml
+++ b/app/views/notes/_notes.html.haml
@@ -1,11 +1,10 @@
%ul#notes-list
-%ul#new_notes_list
+%ul#new-notes-list
.notes-status
- if can? current_user, :write_note, @project
= render "notes/form"
-
:javascript
$(function(){
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");