mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Do not show crt download link when there is no crt
This commit is contained in:
parent
9201611f56
commit
da122e20fb
1 changed files with 8 additions and 2 deletions
|
@ -37,7 +37,13 @@
|
||||||
.panel-body
|
.panel-body
|
||||||
%dl.dl-horizontal
|
%dl.dl-horizontal
|
||||||
%dt= t('csr')
|
%dt= t('csr')
|
||||||
%dd= link_to(t('download'), download_csr_admin_api_user_path)
|
- if @api_user.csr
|
||||||
|
%dd= link_to(t('download'), download_csr_admin_api_user_path)
|
||||||
|
- else
|
||||||
|
%dd -
|
||||||
|
|
||||||
%dt= t('crt')
|
%dt= t('crt')
|
||||||
%dd= link_to(t('download'), download_crt_admin_api_user_path)
|
- if @api_user.csr
|
||||||
|
%dd= link_to(t('download'), download_crt_admin_api_user_path)
|
||||||
|
- else
|
||||||
|
%dd -
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue