mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 09:00:02 +02:00
Add users to registrar show
This commit is contained in:
parent
6f874ecb2a
commit
d5cf921e5d
2 changed files with 38 additions and 1 deletions
|
@ -19,5 +19,5 @@
|
||||||
%tfoot
|
%tfoot
|
||||||
- @domain.errors.messages[:nameservers].each do |x|
|
- @domain.errors.messages[:nameservers].each do |x|
|
||||||
%tr
|
%tr
|
||||||
%td{colspan: 4}= x
|
%td{colspan: 3}= x
|
||||||
|
|
||||||
|
|
|
@ -44,3 +44,40 @@
|
||||||
|
|
||||||
%dt= t('shared.billing_address')
|
%dt= t('shared.billing_address')
|
||||||
%dd= @registrar.billing_address
|
%dd= @registrar.billing_address
|
||||||
|
.row
|
||||||
|
.col-md-12
|
||||||
|
#users.panel.panel-default
|
||||||
|
.panel-heading.clearfix
|
||||||
|
= t('shared.users')
|
||||||
|
.table-responsive
|
||||||
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
|
%thead
|
||||||
|
%tr
|
||||||
|
%th{class: 'col-xs-3'}= t('shared.username')
|
||||||
|
%th{class: 'col-xs-3'}= t('shared.email')
|
||||||
|
%th{class: 'col-xs-3'}= t('shared.identity_code')
|
||||||
|
%th{class: 'col-xs-3'}= t('shared.admin')
|
||||||
|
%tbody
|
||||||
|
- @registrar.users.each do |x|
|
||||||
|
%tr
|
||||||
|
%td= link_to(x, [:admin, x])
|
||||||
|
%td= x.email
|
||||||
|
%td= x.identity_code
|
||||||
|
%td= x.admin
|
||||||
|
|
||||||
|
.row
|
||||||
|
.col-md-12
|
||||||
|
#epp-users.panel.panel-default
|
||||||
|
.panel-heading.clearfix
|
||||||
|
= t('shared.epp_users')
|
||||||
|
.table-responsive
|
||||||
|
%table.table.table-hover.table-bordered.table-condensed
|
||||||
|
%thead
|
||||||
|
%tr
|
||||||
|
%th{class: 'col-xs-6'}= t('shared.username')
|
||||||
|
%th{class: 'col-xs-6'}= t('shared.active')
|
||||||
|
%tbody
|
||||||
|
- @registrar.epp_users.each do |x|
|
||||||
|
%tr
|
||||||
|
%td= link_to(x, [:admin, x])
|
||||||
|
%td= x.active
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue