summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/x509/_unverified_signature_badge.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/x509/_unverified_signature_badge.html.haml')
-rw-r--r--app/views/projects/commit/x509/_unverified_signature_badge.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/x509/_unverified_signature_badge.html.haml b/app/views/projects/commit/x509/_unverified_signature_badge.html.haml
index 680cc32c7e6..6204a6977c0 100644
--- a/app/views/projects/commit/x509/_unverified_signature_badge.html.haml
+++ b/app/views/projects/commit/x509/_unverified_signature_badge.html.haml
@@ -1,5 +1,5 @@
- title = capture do
- = _('This commit was signed with an <strong>unverified</strong> signature.').html_safe
+ = html_escape(_('This commit was signed with an %{strong_open}unverified%{strong_close} signature.')) % { strong_open: '<strong>'.html_safe, strong_close: '</strong>'.html_safe }
- locals = { signature: signature, title: title, label: _('Unverified'), css_class: 'invalid', icon: 'status_notfound_borderless', show_user: true }