From adb134743fa81c8e023fc4990e4838ab6c1da2d0 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 15 May 2014 12:20:42 +1000 Subject: [PATCH] Adding producer modals to home --- app/views/home/_fat.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/home/_fat.html.haml b/app/views/home/_fat.html.haml index 7d5dfb3b80..823e96a37e 100644 --- a/app/views/home/_fat.html.haml +++ b/app/views/home/_fat.html.haml @@ -10,8 +10,10 @@ %li.delivery{"bo-if" => "hub.delivery"} Delivery .columns.small-4 %strong Our producers - %p - Go to our shop to see our current producers + %ul + %li{"ng-repeat" => "producer in hub.producers"} + %ofn-modal{title: "{{ producer.name }}"} + {{ producer || json }} .row.active_table_row.link{"ng-show" => "open()", "ng-if" => "hub.active"} .columns.small-11