Added hook :show_issue_view_right

This commit is contained in:
2022-03-17 06:45:57 -04:00
parent 8bdec410c4
commit fb87e8a33a
2 changed files with 2 additions and 1 deletions

View File

@@ -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>

View File

@@ -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