mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix markup for better layout and getting column padding sitting where it should
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
.content#about{"ng-controller" => "AboutUsCtrl", bindonce: true}
|
||||
.row
|
||||
.small-12.large-8.columns.panel
|
||||
%img.hero-img-small{"bo-src" => "CurrentHub.hub.promo_image", "bo-if" => "CurrentHub.hub.promo_image"}
|
||||
%p{"bo-html" => "CurrentHub.hub.long_description"}
|
||||
.small-12.large-4.columns
|
||||
|
||||
.panel
|
||||
.row
|
||||
.small-12.large-8.columns
|
||||
%img.hero-img-small{"bo-src" => "CurrentHub.hub.promo_image", "bo-if" => "CurrentHub.hub.promo_image"}
|
||||
%p{"bo-html" => "CurrentHub.hub.long_description"}
|
||||
.small-12.large-4.columns
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
.content
|
||||
.row
|
||||
.small-12.columns.panel
|
||||
- if current_distributor.groups.length > 0
|
||||
%h5
|
||||
=current_distributor.name
|
||||
is part of:
|
||||
%ul.bullet-list
|
||||
- for group in current_distributor.groups
|
||||
%li
|
||||
%a{href: main_app.groups_path + "/#/#group#{group.id}"}
|
||||
= group.name
|
||||
.panel
|
||||
.row
|
||||
.small-12.large-4.columns
|
||||
- if current_distributor.groups.length > 0
|
||||
%h5
|
||||
=current_distributor.name
|
||||
is part of:
|
||||
%ul.bullet-list
|
||||
- for group in current_distributor.groups
|
||||
%li
|
||||
%a{href: main_app.groups_path + "/#/#group#{group.id}"}
|
||||
= group.name
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
.content#producers{"ng-controller" => "ProducersTabCtrl"}
|
||||
.row
|
||||
.small-12.columns.panel
|
||||
%h5 {{CurrentHub.hub.name}}'s producers:
|
||||
%ul.small-block-grid-2.large-block-grid-4
|
||||
%li{"ng-repeat" => "enterprise in CurrentHub.hub.producers"}
|
||||
%enterprise-modal
|
||||
%i.ofn-i_036-producers
|
||||
{{ enterprise.name }}
|
||||
.panel
|
||||
.row
|
||||
.small-12.columns
|
||||
%h5 {{CurrentHub.hub.name}}'s producers:
|
||||
%ul.small-block-grid-2.large-block-grid-4
|
||||
%li{"ng-repeat" => "enterprise in CurrentHub.hub.producers"}
|
||||
%enterprise-modal
|
||||
%i.ofn-i_036-producers
|
||||
{{ enterprise.name }}
|
||||
|
||||
Reference in New Issue
Block a user