From 1bd6e7ff75515e5498fbdcf9198496161bc29598 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Tue, 6 Jun 2017 17:38:32 +0200 Subject: [PATCH] suite --- app/views/public/reseauxes/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/public/reseauxes/show.html.haml b/app/views/public/reseauxes/show.html.haml index 49cf655..b8e181f 100644 --- a/app/views/public/reseauxes/show.html.haml +++ b/app/views/public/reseauxes/show.html.haml @@ -103,7 +103,7 @@ %div{:style => "position:absolute;top:-30px;right:10px;"} Gains : =number_to_currency gain - -if @reseaux.id != 2 + -if @reseaux.id != 2 and @reseaux.parent_id != 2 %h3 Les besoins de mon réseau =render collection: @reseaux.needs, partial: 'public/needs/need_item', as: :need