@@ -23,8 +23,10 module JournalsHelper | |||
|
23 | 23 | editable = User.current.logged? && (User.current.allowed_to?(:edit_issue_notes, issue.project) || (journal.user == User.current && User.current.allowed_to?(:edit_own_issue_notes, issue.project))) |
|
24 | 24 | links = [] |
|
25 | 25 | if !journal.notes.blank? |
|
26 |
links << link_to |
|
|
27 |
|
|
|
26 | links << link_to(image_tag('comment.png'), | |
|
27 | {:controller => 'journals', :action => 'new', :id => issue, :journal_id => journal}, | |
|
28 | :remote => true, | |
|
29 | :method => 'post', | |
|
28 | 30 |
|
|
29 | 31 | links << link_to_in_place_notes_editor(image_tag('edit.png'), "journal-#{journal.id}-notes", |
|
30 | 32 | { :controller => 'journals', :action => 'edit', :id => journal }, |
General Comments 0
You need to be logged in to leave comments.
Login now