From 6f1243eb7ebf77b3ca27cf55d245e53ce6d67f8f Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Tue, 21 Feb 2017 11:02:11 +0100 Subject: [PATCH] Do not hide link if procedure is archived --- app/views/admin/procedures/show.html.haml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/admin/procedures/show.html.haml b/app/views/admin/procedures/show.html.haml index 7c278d08b..e0c945cff 100644 --- a/app/views/admin/procedures/show.html.haml +++ b/app/views/admin/procedures/show.html.haml @@ -46,10 +46,7 @@ %div %h3 Lien procédure %div{style:'margin-left:3%'} - - if @facade.procedure.archived? - %b - Cette procédure a été archivée et n'est plus accessible par le public. - - elsif @facade.procedure.published? + - if @facade.procedure.published? = link_to @facade.procedure.lien, @facade.procedure.lien, target: '_blank' - else %b