Merge pull request #494 from internetee/delete-restful-whois-url-config-key

Remove unused "restful_whois_url" config key
This commit is contained in:
Timo Võhmar 2017-09-01 16:33:14 +03:00 committed by GitHub
commit a1eb936644
2 changed files with 15 additions and 25 deletions

View file

@ -1,21 +1,17 @@
= render 'shared/title', name: t(:whois) = render 'shared/title', name: t(:whois)
- if ENV['restful_whois_url'].blank? .row
%p .col-md-12{style: 'margin-bottom: -15px;'}
Registrant configuration issue: missing restful_whois_url = form_tag registrant_whois_path, class: 'form-horizontal', method: :get do
- else .col-md-11
.row .form-group
.col-md-12{style: 'margin-bottom: -15px;'} = text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true
= form_tag registrant_whois_path, class: 'form-horizontal', method: :get do .col-md-1.text-right.text-center-xs
.col-md-11 .form-group
.form-group %button.btn.btn-default
= text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true  
.col-md-1.text-right.text-center-xs %span.glyphicon.glyphicon-search
.form-group  
%button.btn.btn-default %hr
  - if @domain
%span.glyphicon.glyphicon-search %pre= @domain.body
 
%hr
- if @domain
%pre= @domain.body

View file

@ -83,12 +83,6 @@ key_path: '/home/registry/registry/shared/ca/private/webclient.key.pem'
epp_hostname: 'registry.gitlab.eu' epp_hostname: 'registry.gitlab.eu'
repp_url: 'https://repp.gitlab.eu/repp/v1/' repp_url: 'https://repp.gitlab.eu/repp/v1/'
#
# REGISTRANT configuration
#
restful_whois_url: 'https://restful-whois.example.com'
# #
# Estonian Business Registry # Estonian Business Registry
# #