Add supplier info popup

This commit is contained in:
2015-01-13 13:38:52 +01:00
parent a774b2fd90
commit 2f812ad52e
12 changed files with 68 additions and 24 deletions
@@ -12,6 +12,7 @@ App.ApplicationController = Ember.Controller.extend
showSupplierStatusInfo: ->
@modal 'supplier_status_info',
model: @get('list.supplier')
title_path: 'supplier_status_info.title'
openDebugger: ->
debugger
@@ -3,6 +3,6 @@
.modal-header
h3.flush--top= title
hr
.modal-body
.modal-body.clearfix
.modal-alert== alert_message
= yield
@@ -0,0 +1,13 @@
p== t 'supplier_status_info.header'
.row: .small-12.columns
.counter.supplier-orders-placed-count
= model.orders_placed_count
span.orders-placed-count-icon
= t 'supplier_status_info.orders_placed_count_explanation' count=model.orders_placed_count
.row: .small-12.columns
.counter.supplier-orders-in-process-count
= model.orders_in_process_count
span.orders-in-process-count-icon
= t 'supplier_status_info.orders_in_process_count_explanation' count=model.orders_in_process_count
hr
button.modal-confirm.right{action "close"}= t 'supplier_status_info.close'