mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Merge pull request #349 from internetee/registry-341
Add missing translations in admin area
This commit is contained in:
commit
dc5fde1581
3 changed files with 7 additions and 3 deletions
|
@ -26,6 +26,6 @@
|
||||||
|
|
||||||
%dt= t(:role)
|
%dt= t(:role)
|
||||||
- if @admin_user.roles
|
- if @admin_user.roles
|
||||||
%dd= t(@admin_user.roles.first)
|
%dd= @admin_user.roles.first
|
||||||
- else
|
- else
|
||||||
%dd
|
%dd
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
%dt= t(:role)
|
%dt= t(:role)
|
||||||
%dd= @api_user.roles.join(', ')
|
%dd= @api_user.roles.join(', ')
|
||||||
|
|
||||||
%dt= t(:active)
|
%dt= t('.active')
|
||||||
%dd= @api_user.active
|
%dd= @api_user.active
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
%table.table.table-hover.table-bordered.table-condensed
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
%th{class: 'col-xs-10'}= t(:subject)
|
%th{class: 'col-xs-10'}= t('.subject')
|
||||||
%th{class: 'col-xs-2'}= t(:status)
|
%th{class: 'col-xs-2'}= t(:status)
|
||||||
%tbody
|
%tbody
|
||||||
- @api_user.certificates.each do |x|
|
- @api_user.certificates.each do |x|
|
||||||
|
|
|
@ -6,6 +6,10 @@ en:
|
||||||
title: API users
|
title: API users
|
||||||
active: Active
|
active: Active
|
||||||
|
|
||||||
|
show:
|
||||||
|
active: Active
|
||||||
|
subject: Subject
|
||||||
|
|
||||||
new:
|
new:
|
||||||
title: New API user
|
title: New API user
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue