From 91147d2f48a6dbb0c399ff253bf8f1f6ecd05ed5 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Wed, 30 Sep 2026 19:22:41 +0300 Subject: [PATCH] fix verify pdf --- app/views/verify_pdf_signature/_result.html.erb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/verify_pdf_signature/_result.html.erb b/app/views/verify_pdf_signature/_result.html.erb index 73dabae28..560e1860c 100644 --- a/app/views/verify_pdf_signature/_result.html.erb +++ b/app/views/verify_pdf_signature/_result.html.erb @@ -35,10 +35,12 @@ <%= svg_icon('user', class: 'w-5 h-5 inline') %> <%= signature.reason %> -
- <%= svg_icon('calendar', class: 'w-5 h-5 inline') %> - <%= l(signature.signing_time.in_time_zone(current_account.timezone), format: :long, locale: current_account.locale) %> -
+ <% if signature.signing_time %> +
+ <%= svg_icon('calendar', class: 'w-5 h-5 inline') %> + <%= l(signature.signing_time.in_time_zone(current_account.timezone), format: :long, locale: current_account.locale) %> +
+ <% end %>
<%= svg_icon('certificate', class: 'w-5 h-5 inline') %> <%= signature.common_name %>