Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 30, 2014
1 parent a4871f2 commit 42bf69d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/data/registration/certificate_summary.erb
Expand Up @@ -58,7 +58,7 @@ textdomain "registration"
<% # warning added after the certificate issue date
# if the certificate is not valid yet
%>
<b><font color="red"><%= _("WARNING: The certificate is not valid yet!") %></font></b><br>
<b><font color="red"><%= _("WARNING: The certificate is not valid yet!") %></font></b><br>
<% end %>
<% # label followed by the certificate expiration date
%>
Expand All @@ -80,8 +80,10 @@ textdomain "registration"

<% # label followed by the certificate SHA1 sum (in HEX format, e.g. AB:CD:42:FF...)
%>
<b><%= _("SHA1 Fingerprint:") %></b> <%= h(::SUSE::Connect::SSLCertificate.sha1_fingerprint(@certificate)) %>
<b><%= _("SHA1 Fingerprint:") %></b>
<%= h(::SUSE::Connect::SSLCertificate.sha1_fingerprint(@certificate)) %>
<% # label followed by the certificate SHA256 sum (in HEX format, e.g. AB:CD:42:FF...)
%>
<b><%= _("SHA256 Fingerprint:") %></b> <%= h(::SUSE::Connect::SSLCertificate.sha256_fingerprint(@certificate)) %>
<b><%= _("SHA256 Fingerprint:") %></b>
<%= h(::SUSE::Connect::SSLCertificate.sha256_fingerprint(@certificate)) %>
</p>
2 changes: 1 addition & 1 deletion src/lib/registration/ui/import_certificate_dialog.rb
Expand Up @@ -116,7 +116,7 @@ def warning_text
"self-signed certificate.</p>") +

# help text for importing a SSL certificate (4/5)
_("<p><b>Important:</b> You should verify SHA1 fingerprint of the " \
_("<p><b>Important:</b> You should verify the fingerprint of the " \
"certificate to be sure you import the genuine certificate from " \
"the requested server.</p>") +

Expand Down

0 comments on commit 42bf69d

Please sign in to comment.