Revert "Enhancement/5454 make links to shops under Groups > Producers open in new tab"

This commit is contained in:
Luis Ramos
2020-07-15 15:33:03 +01:00
committed by GitHub
parent 57fd1bdee2
commit efacca6292
2 changed files with 3 additions and 3 deletions

View File

@@ -79,8 +79,8 @@
.row.cta-container
.columns.small-12
%a.cta-hub{"ng-repeat" => "hub in producer.hubs | orderBy:'-active'",
"ng-href" => "{{::hub.path}}", "ng-attr-target" => "_blank",
"ng-class" => "::{primary: hub.active, secondary: !hub.active}", "target" => "_blank"}
"ng-href" => "{{::hub.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined }}",
"ng-class" => "::{primary: hub.active, secondary: !hub.active}"}
%i.ofn-i_068-shop-reversed{"ng-if" => "::hub.active"}
%i.ofn-i_068-shop-reversed{"ng-if" => "::!hub.active"}
.hub-name{"ng-bind" => "::hub.name"}

View File

@@ -3,7 +3,7 @@
%span{"ng-if" => "::producer.is_distributor" }
.row.vertical-align-middle
.columns.small-12
%a.is_distributor{"ng-href" => "{{::producer.path}}", "ng-attr-target" => "_blank", "data-is-link" => "true", "target" => "_blank"}
%a.is_distributor{"ng-href" => "{{::producer.path}}", "ng-attr-target" => "{{ embedded_layout ? '_blank' : undefined}}", "data-is-link" => "true"}
%i{ng: {class: "::producer.producer_icon_font"}}
%span.margin-top
%strong{"ng-bind" => "::producer.name"}