mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Update translation keys
This commit is contained in:
parent
d9ca931c97
commit
acab58b71c
49 changed files with 240 additions and 240 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue