Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Added issue parameter for compatibility with Redmine 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan North authored and DFUK committed Feb 14, 2011
1 parent 6f80f12 commit 7f8c724
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/issues/_history.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
</div>

<% tabs.each do |tab| -%>
<%= content_tag('div', render(:partial => tab[:name], :locals => { :journals => journals, :reply_links => reply_links}),
<%= content_tag('div', render(:partial => tab[:name], :locals => { :issue => issue, :journals => journals, :reply_links => reply_links}),
:id => "tab-content-#{tab[:name]}",
:style => (tab[:name] != selected_tab ? 'display:none' : nil),
:class => 'tab-content') %>
<% end -%>
<% end -%>
2 changes: 1 addition & 1 deletion app/views/issues/_history_all.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<li><%= show_detail(detail) %></li>
<% end %>
</ul>
<%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %>
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
</div>
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/issues/_history_comments.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<li><%= show_detail(detail) %></li>
<% end %>
</ul>
<%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %>
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
</div>
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
<% end %>
Expand Down

0 comments on commit 7f8c724

Please sign in to comment.