summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-09-13 19:55:57 +0200
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-09-14 21:41:56 +0200
commit14164017533388dc2a0d0f43e05ee84badbf2223 (patch)
tree2a013ec02e86c6dab82d82e06db50869e2ac8edc /app
parent6ffec9a298dd90275ec6b17d1e11554bd31b9f2c (diff)
downloadgitlab-ce-14164017533388dc2a0d0f43e05ee84badbf2223.tar.gz
Fix markup
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)}");