add show_detail to issue helper for limited backwards compatibility

This commit is contained in:
Tim Felgentreff 2010-09-14 15:17:34 +02:00
parent d7854003c4
commit 44a3546579

View File

@ -160,6 +160,11 @@ module IssuesHelper
export
end
# FIXME: This is not working as before
def show_detail(journal, html = true)
journal.render_detail(journal.details.first, html)
end
def gantt_zoom_link(gantt, in_or_out)
img_attributes = {:style => 'height:1.4em; width:1.4em; margin-left: 3px;'} # em for accessibility