Update translation keys

This commit is contained in:
Priit Tark 2015-04-30 12:47:11 +03:00
parent d9ca931c97
commit acab58b71c
49 changed files with 240 additions and 240 deletions

View file

@ -1,6 +1,6 @@
.row
.col-sm-12
%h2.text-center-xs= t('invoices')
%h2.text-center-xs= t(:invoices)
%hr
.row
.col-md-12
@ -22,16 +22,16 @@
%td= link_to(x, [:admin, x])
%td= link_to(x.buyer_name, admin_registrar_path(x.buyer_id))
- if x.cancelled?
%td.text-grey= t('cancelled')
%td.text-grey= t(:cancelled)
- else
%td= l(x.due_date)
- if x.binded?
%td= l(x.receipt_date)
- elsif x.cancelled?
%td.text-grey= t('cancelled')
%td.text-grey= t(:cancelled)
- else
%td.text-danger= t('unpaid')
%td.text-danger= t(:unpaid)
.row
.col-md-12
= paginate @invoices

View file

@ -6,7 +6,7 @@
%h1.text-right.text-center-xs
- if !@invoice.cancelled? && !@invoice.binded?
= link_to(t(:cancel), cancel_admin_invoice_path(@invoice), method: :patch, class: 'btn btn-default')
= link_to(t('back'), admin_invoices_path, class: 'btn btn-default')
= link_to(t(:back), admin_invoices_path, class: 'btn btn-default')
%hr
= render 'shared/full_errors', object: @invoice