mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Update translation keys
This commit is contained in:
parent
d9ca931c97
commit
acab58b71c
49 changed files with 240 additions and 240 deletions
|
@ -13,21 +13,21 @@
|
|||
.panel.panel-default
|
||||
.panel-heading.clearfix
|
||||
.pull-left
|
||||
= t('csr')
|
||||
= t(:csr)
|
||||
.pull-right
|
||||
= link_to(t('download'), download_csr_admin_api_user_certificate_path(@api_user, @certificate), class: 'btn btn-default btn-xs')
|
||||
= link_to(t(:download), download_csr_admin_api_user_certificate_path(@api_user, @certificate), class: 'btn btn-default btn-xs')
|
||||
- unless @crt
|
||||
= link_to(t('sign_this_request'), sign_admin_api_user_certificate_path(@api_user, @certificate), method: :post, class: 'btn btn-primary btn-xs')
|
||||
= link_to(t(:sign_this_request), sign_admin_api_user_certificate_path(@api_user, @certificate), method: :post, class: 'btn btn-primary btn-xs')
|
||||
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t('version')
|
||||
%dt= t(:version)
|
||||
%dd= @csr.version
|
||||
|
||||
%dt= t('subject')
|
||||
%dt= t(:subject)
|
||||
%dd= @csr.subject
|
||||
|
||||
%dt= t('signature_algorithm')
|
||||
%dt= t(:signature_algorithm)
|
||||
%dd= @csr.signature_algorithm
|
||||
|
||||
- if @crt
|
||||
|
@ -39,32 +39,32 @@
|
|||
= t('crt') unless @certificate.revoked?
|
||||
= t('crt_revoked') if @certificate.revoked?
|
||||
.pull-right
|
||||
= link_to(t('download'), download_crt_admin_api_user_certificate_path(@api_user, @certificate), class: 'btn btn-default btn-xs')
|
||||
= link_to(t(:download), download_crt_admin_api_user_certificate_path(@api_user, @certificate), class: 'btn btn-default btn-xs')
|
||||
- unless @certificate.revoked?
|
||||
= link_to(t('revoke_this_certificate'), revoke_admin_api_user_certificate_path(@api_user, @certificate), method: :post, class: 'btn btn-primary btn-xs')
|
||||
= link_to(t(:revoke_this_certificate), revoke_admin_api_user_certificate_path(@api_user, @certificate), method: :post, class: 'btn btn-primary btn-xs')
|
||||
- if @crt
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t('version')
|
||||
%dt= t(:version)
|
||||
%dd= @crt.version
|
||||
|
||||
%dt= t('serial_number')
|
||||
%dt= t(:serial_number)
|
||||
%dd= @crt.serial
|
||||
|
||||
%dt= t('signature_algorithm')
|
||||
%dt= t(:signature_algorithm)
|
||||
%dd= @crt.signature_algorithm
|
||||
|
||||
%dt= t('issuer')
|
||||
%dt= t(:issuer)
|
||||
%dd= @crt.issuer
|
||||
|
||||
%dt= t('valid_from')
|
||||
%dt= t(:valid_from)
|
||||
%dd= @crt.not_before
|
||||
|
||||
%dt= t('valid_to')
|
||||
%dt= t(:valid_to)
|
||||
%dd= @crt.not_after
|
||||
|
||||
%dt= t('subject')
|
||||
%dt= t(:subject)
|
||||
%dd= @crt.subject
|
||||
|
||||
%dt= t('extensions')
|
||||
%dt= t(:extensions)
|
||||
%dd= @crt.extensions.map(&:to_s).join('<br>').html_safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue