Project

General

Profile

Defect #3771 ยป journal_note_fix.diff

suggested patch - Ashley McKenzie, 2009-08-23 13:55

View differences:

public/stylesheets/application.css (working copy)
778 778
	clear: left;
779 779
}
780 780

  
781
.journal-notes {
782
  margin-left: 40px;
783
}
784

  
781 785
h2 img { vertical-align:middle; }
782 786

  
783 787

  
app/helpers/journals_helper.rb (working copy)
30 30
    end
31 31
    content << content_tag('div', links.join(' '), :class => 'contextual') unless links.empty?
32 32
    content << textilizable(journal, :notes)
33
    content_tag('div', content, :id => "journal-#{journal.id}-notes", :class => (editable ? 'wiki editable' : 'wiki'))
33
    content_tag('div', content, :id => "journal-#{journal.id}-notes", :class => "wiki journal-notes#{' editable' if editable}")
34 34
  end
35 35
  
36 36
  def link_to_in_place_notes_editor(text, field_id, url, options={})
    (1-1/1)