mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Form for uploading CRT directly
This commit is contained in:
parent
4cd8df079f
commit
405bb0dfd4
7 changed files with 56 additions and 29 deletions
|
@ -35,6 +35,8 @@
|
|||
.pull-left
|
||||
= t(:certificates)
|
||||
.pull-right
|
||||
= link_to(t(:upload_crt),
|
||||
new_admin_api_user_certificate_path(@api_user, crt: true), class: 'btn btn-primary btn-xs')
|
||||
= link_to(t(:upload_csr),
|
||||
new_admin_api_user_certificate_path(@api_user), class: 'btn btn-primary btn-xs')
|
||||
|
||||
|
@ -50,3 +52,7 @@
|
|||
%tr
|
||||
%td= link_to(x.parsed_csr.try(:subject), admin_api_user_certificate_path(@api_user, x))
|
||||
%td= x.status
|
||||
- elsif x.crt
|
||||
%tr
|
||||
%td= link_to(x.parsed_crt.try(:subject), admin_api_user_certificate_path(@api_user, x))
|
||||
%td= x.status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue