Merge pull request #349 from internetee/registry-341

Add missing translations in admin area
This commit is contained in:
Timo Võhmar 2017-01-19 14:00:46 +02:00 committed by GitHub
commit dc5fde1581
3 changed files with 7 additions and 3 deletions

View file

@ -26,6 +26,6 @@
%dt= t(:role)
- if @admin_user.roles
%dd= t(@admin_user.roles.first)
%dd= @admin_user.roles.first
- else
%dd

View file

@ -29,7 +29,7 @@
%dt= t(:role)
%dd= @api_user.roles.join(', ')
%dt= t(:active)
%dt= t('.active')
%dd= @api_user.active
.row
.col-md-12
@ -47,7 +47,7 @@
%table.table.table-hover.table-bordered.table-condensed
%thead
%tr
%th{class: 'col-xs-10'}= t(:subject)
%th{class: 'col-xs-10'}= t('.subject')
%th{class: 'col-xs-2'}= t(:status)
%tbody
- @api_user.certificates.each do |x|

View file

@ -6,6 +6,10 @@ en:
title: API users
active: Active
show:
active: Active
subject: Subject
new:
title: New API user