mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Merge pull request #1702 from internetee/1580-registrar-api-contacts-endpoint
REPP: Contact management
This commit is contained in:
commit
bcafa2e424
57 changed files with 2049 additions and 649 deletions
|
@ -22,7 +22,7 @@ xml.epp_head do
|
|||
if can? :view_full_info, @contact, @password
|
||||
xml.tag!('contact:org', @contact.org_name) if @contact.org_name.present?
|
||||
|
||||
if address_processing?
|
||||
if Contact.address_processing?
|
||||
xml.tag!('contact:addr') do
|
||||
xml.tag!('contact:street', @contact.street)
|
||||
xml.tag!('contact:city', @contact.city)
|
||||
|
@ -35,7 +35,7 @@ xml.epp_head do
|
|||
else
|
||||
xml.tag!('contact:org', 'No access')
|
||||
|
||||
if address_processing?
|
||||
if Contact.address_processing?
|
||||
xml.tag!('contact:addr') do
|
||||
xml.tag!('contact:street', 'No access')
|
||||
xml.tag!('contact:city', 'No access')
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
.col-md-8
|
||||
= render 'registrar/contacts/form/general', f: f
|
||||
|
||||
- if address_processing?
|
||||
- if Contact.address_processing?
|
||||
.row
|
||||
.col-md-8
|
||||
= render 'registrar/contacts/form/address', f: f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue