Set wiki class to issue notes.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1116 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 17 years ago
parent 5dd3c239d3
commit 9c451ac157
  1. 2
      app/helpers/journals_helper.rb

@ -27,7 +27,7 @@ module JournalsHelper
content << content_tag('div', links.join(' '), :class => 'contextual') content << content_tag('div', links.join(' '), :class => 'contextual')
end end
content << textilizable(journal, :notes) content << textilizable(journal, :notes)
content_tag('div', content, :id => "journal-#{journal.id}-notes", :class => (editable ? 'editable' : nil)) content_tag('div', content, :id => "journal-#{journal.id}-notes", :class => (editable ? 'wiki editable' : 'wiki'))
end end
def link_to_in_place_notes_editor(text, field_id, url, options={}) def link_to_in_place_notes_editor(text, field_id, url, options={})

Loading…
Cancel
Save