Files
openfoodnetwork/app/views/producers/index.html.haml
Maikel Linke 85c99102dd i18n: Replacing all language strings in app/view/
Languages strings were moved to config/locale/en.yml. All views contain
according calls to t() now.
2015-08-28 16:59:23 +10:00

31 lines
1008 B
Plaintext

- content_for(:title) do
= t :producers_title
= inject_enterprises
.producers{"ng-controller" => "EnterprisesCtrl", "ng-cloak" => true}
.row
.small-12.columns.pad-top
%h1
= t :producers_headline
= render partial: "shared/components/enterprise_search"
= render partial: "producers/filters"
.row{bindonce: true}
.small-12.columns
.active_table
%producer.active_table_node.row.animate-repeat{id: "{{producer.path}}",
"ng-repeat" => "producer in filteredEnterprises = (Enterprises.producers | visible | searchEnterprises:query | taxons:activeTaxons)",
"ng-controller" => "ProducerNodeCtrl",
"ng-class" => "{'closed' : !open(), 'open' : open(), 'inactive' : !producer.active}",
id: "{{producer.hash}}"}
.small-12.columns
= render partial: 'producers/skinny'
= render partial: 'producers/fat'
= render partial: 'shared/components/enterprise_no_results'
= render partial: "shared/footer"