[FIX] runbot: restore "error already known" message

Displays it for the error manager group as well as if you are assigned
to it.
This commit is contained in:
William Braeckman 2025-03-17 11:17:19 +01:00 committed by William Braeckman (wbr)
parent 3cf9dd6fa2
commit 6bbe98fd50

View File

@ -330,7 +330,7 @@
<a groups="runbot.group_user" t-attf-href="/web#id={{error.id}}&amp;view_type=form&amp;model=runbot.build.error&amp;menu_id={{env['ir.model.data']._xmlid_to_res_id('runbot.runbot_menu_root')}}" title="View in Backend" target="_blank">
<i t-attf-class="fa fa-list"/>
</a>
<span groups="runbot.group_runbot_admin" t-if="error.responsible or error.responsible.id == uid">(<i t-out="error.responsible.name"/>)</span>
<span t-if="error.responsible and (env.user.has_group('runbot.group_runbot_error_manager') or error.responsible.id == uid)">(<i t-out="error.responsible.name"/>)</span>
</td>
</tr>
</t>