mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Story#105302144 show domains under contact in registrar portal
This commit is contained in:
parent
ae5e5abfbc
commit
e8aa4bff32
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
- domains = @contact.all_domains(page: params[:domain_page], per: 20, params: params)
|
||||
- domains = (contact || @contact).all_domains(page: params[:domain_page], per: 20, params: params)
|
||||
#contacts.panel.panel-default
|
||||
.panel-heading
|
||||
.pull-left
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
.col-md-6= render 'registrar/contacts/partials/address'
|
||||
.row
|
||||
.col-md-12= render 'registrar/contacts/partials/statuses', statuses: @contact.statuses
|
||||
.row
|
||||
.col-md-12= render 'admin/contacts/partials/domains', contact: Contact.find_by(code: params[:id])
|
||||
|
||||
- else
|
||||
.row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue