mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Instead of using URL, use the image_path method which computes the path to an image asset in the public images directory.
16 lines
504 B
Plaintext
16 lines
504 B
Plaintext
%h4.modal-title
|
|
= t('js.admin.orders.index.compiling_invoices')
|
|
|
|
%p.message{ ng: { show: 'message' } }
|
|
{{message}}
|
|
%p.error{ ng: { show: 'error' } }
|
|
{{error}}
|
|
|
|
%img.spinner{ src: image_path("spinning-circles.svg"), ng: { show: "loading" } }
|
|
%p{ ng: { show: "loading" } }
|
|
= t('js.admin.orders.index.please_wait')
|
|
|
|
%a.button{ target: '_blank', ng: { click: 'showBulkInvoice()', href: '/admin/orders/invoices/{{invoice_id}}', show: "!loading && !error" } }
|
|
= t('js.admin.orders.index.view_file')
|
|
|