From 4a5234f7892b4cd72f1d898becc6423eadb344ab Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Thu, 19 Feb 2015 17:58:48 +0200 Subject: [PATCH] Show crt download link --- app/views/admin/api_users/show.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/api_users/show.haml b/app/views/admin/api_users/show.haml index f8f09a701..63ffc3952 100644 --- a/app/views/admin/api_users/show.haml +++ b/app/views/admin/api_users/show.haml @@ -43,7 +43,7 @@ %dd - %dt= t('crt') - / - if @api_user.csr - / %dd= link_to(t('download'), download_crt_admin_api_user_path) - / - else - / %dd - + - if @api_user.csr + %dd= link_to(t('download'), download_crt_admin_api_user_path) + - else + %dd -