mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Added hook :show_issue_view_right
This commit is contained in:
@@ -17,6 +17,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="splitcontentleft">
|
<div class="splitcontentleft">
|
||||||
<%# call_hook here %>
|
<%= call_hook :show_issue_view_right, {issue: issue, customer: @customer} %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
|
|||||||
context[:controller].send(:render_to_string, {
|
context[:controller].send(:render_to_string, {
|
||||||
:partial => 'issues/show_details',
|
:partial => 'issues/show_details',
|
||||||
locals: {
|
locals: {
|
||||||
|
issue: issue,
|
||||||
customer: customer,
|
customer: customer,
|
||||||
estimate_link: estimate_link,
|
estimate_link: estimate_link,
|
||||||
invoice_link: invoice_link
|
invoice_link: invoice_link
|
||||||
|
|||||||
Reference in New Issue
Block a user