summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_verified_signature_badge.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/_verified_signature_badge.html.haml')
-rw-r--r--app/views/projects/commit/_verified_signature_badge.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_verified_signature_badge.html.haml b/app/views/projects/commit/_verified_signature_badge.html.haml
index 4964b1b8ee7..357ad467539 100644
--- a/app/views/projects/commit/_verified_signature_badge.html.haml
+++ b/app/views/projects/commit/_verified_signature_badge.html.haml
@@ -1,5 +1,5 @@
- title = capture do
- = _('This commit was signed with a <strong>verified</strong> signature and the committer email is verified to belong to the same user.').html_safe
+ = html_escape(_('This commit was signed with a %{strong_open}verified%{strong_close} signature and the committer email is verified to belong to the same user.')) % { strong_open: '<strong>'.html_safe, strong_close: '</strong>'.html_safe }
- locals = { signature: signature, title: title, label: _('Verified'), css_class: 'valid', icon: 'status_success_borderless', show_user: true }