Update app/views/spree/admin/overview/single_enterprise_dashboard.html.haml

Co-authored-by: Maikel <maikel@email.org.au>
This commit is contained in:
Sinan Sonmez (Chaush)
2021-09-09 16:29:28 +02:00
committed by GitHub
parent f883e66c96
commit 12c154934d

View File

@@ -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