From 12c154934d64be06fe5ae16ea35e0e603f7153a4 Mon Sep 17 00:00:00 2001 From: "Sinan Sonmez (Chaush)" <37421564+sinansonmez@users.noreply.github.com> Date: Thu, 9 Sep 2021 16:29:28 +0200 Subject: [PATCH] Update app/views/spree/admin/overview/single_enterprise_dashboard.html.haml Co-authored-by: Maikel --- .../single_enterprise_dashboard.html.haml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml b/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml index c2f4ecd9e6..edfb0013f4 100644 --- a/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml +++ b/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml @@ -40,18 +40,11 @@ %span.icon-user = t "your_profil_live" .list - - if @enterprise.sells == "none" - %a.button.bottom{href: main_app.producers_url, target: '_blank'} - = t "see" - = @enterprise.name - = t "live" - %span.icon-arrow-right - - else - %a.button.bottom{href: main_app.enterprise_shop_url(@enterprise), target: '_blank'} - = t "see" - = @enterprise.name - = t "live" - %span.icon-arrow-right + %a.button.bottom{href: enterprise_url(@enterprise), target: '_blank'} + = t "see" + = @enterprise.name + = t "live" + %span.icon-arrow-right .eight.columns.omega.dashboard_item.single-ent#edit .header