- label_status = hook_log.success? ? 'badge-success' : 'badge-danger'
%span{ class: "badge #{label_status}" }
= hook_log.internal_error? ? _('Error') : hook_log.response_status