Full translation preparation for contacts and hosts

This commit is contained in:
Pinga 2024-01-08 13:04:16 +02:00
parent f8d99d116e
commit 12104af70f
13 changed files with 231 additions and 320 deletions

View file

@ -11,7 +11,7 @@
<div class="col"> <div class="col">
<!-- Page pre-title --> <!-- Page pre-title -->
<div class="page-pretitle"> <div class="page-pretitle">
Overview {{ __('Overview') }}
</div> </div>
<h2 class="page-title"> <h2 class="page-title">
{{ __('Create Contact') }} {{ __('Create Contact') }}
@ -56,21 +56,21 @@
<div class="row"> <div class="row">
<!-- First Column: General & Internationalized Info --> <!-- First Column: General & Internationalized Info -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">General & Internationalized Info</h6> <h6 class="mb-3">{{ __('General & Internationalized Info') }}</h6>
<!-- Internationalized Name --> <!-- Internationalized Name -->
<div class="mb-3"> <div class="mb-3">
<label for="intName" class="form-label required">Name</label> <label for="intName" class="form-label required">{{ __('Name') }}</label>
<input type="text" class="form-control" id="intName" name="intName" required="required"> <input type="text" class="form-control" id="intName" name="intName" required="required">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseNameInt" name="disclose_name_int"> <input class="form-check-input" type="checkbox" id="discloseNameInt" name="disclose_name_int">
<span class="form-check-label" for="discloseNameInt">Disclose in WHOIS</span> <span class="form-check-label" for="discloseNameInt">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
{% if registrars and not registrar %} {% if registrars and not registrar %}
<div class="form-group mb-3"> <div class="form-group mb-3">
<label for="registrarDropdown" class="form-label required">{{ __('Select Registrar') }}:</label> <label for="registrarDropdown" class="form-label required">{{ __('Select Registrar') }}</label>
<select id="registrarDropdown" name="registrar" class="form-control"> <select id="registrarDropdown" name="registrar" class="form-control">
{% for registrar in registrars %} {% for registrar in registrars %}
<option value="{{ registrar.id }}">{{ registrar.name }}</option> <option value="{{ registrar.id }}">{{ registrar.name }}</option>
@ -81,43 +81,43 @@
<!-- Internationalized Organization --> <!-- Internationalized Organization -->
<div class="mb-3"> <div class="mb-3">
<label for="intOrg" class="form-label required">Organization</label> <label for="intOrg" class="form-label required">{{ __('Organization') }}</label>
<input type="text" class="form-control" id="intOrg" name="org" required="required"> <input type="text" class="form-control" id="intOrg" name="org" required="required">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseOrgInt" name="disclose_org_int"> <input class="form-check-input" type="checkbox" id="discloseOrgInt" name="disclose_org_int">
<span class="form-check-label" for="discloseOrgInt">Disclose in WHOIS</span> <span class="form-check-label" for="discloseOrgInt">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Internationalized Address: Street Details --> <!-- Internationalized Address: Street Details -->
<div class="mb-3"> <div class="mb-3">
<label for="street1" class="form-label required">Street 1</label> <label for="street1" class="form-label required">{{ __('Street') }} 1</label>
<input type="text" class="form-control" id="street1" name="street1" required="required"> <input type="text" class="form-control" id="street1" name="street1" required="required">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="street2" class="form-label">Street 2</label> <label for="street2" class="form-label">{{ __('Street') }} 2</label>
<input type="text" class="form-control" id="street2" name="street2"> <input type="text" class="form-control" id="street2" name="street2">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="street3" class="form-label">Street 3</label> <label for="street3" class="form-label">{{ __('Street') }} 3</label>
<input type="text" class="form-control" id="street3" name="street3"> <input type="text" class="form-control" id="street3" name="street3">
</div> </div>
<!-- Internationalized Address: City, SP, PC, CC --> <!-- Internationalized Address: City, SP, PC, CC -->
<div class="mb-3"> <div class="mb-3">
<label for="city" class="form-label required">City</label> <label for="city" class="form-label required">{{ __('City') }}</label>
<input type="text" class="form-control" id="city" name="city" required="required"> <input type="text" class="form-control" id="city" name="city" required="required">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="sp" class="form-label">State/Province</label> <label for="sp" class="form-label">{{ __('State/Province') }}</label>
<input type="text" class="form-control" id="sp" name="sp"> <input type="text" class="form-control" id="sp" name="sp">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="pc" class="form-label">Postal Code</label> <label for="pc" class="form-label">{{ __('Postal Code') }}</label>
<input type="text" class="form-control" id="pc" name="pc"> <input type="text" class="form-control" id="pc" name="pc">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="cc" class="form-label required">Country</label> <label for="cc" class="form-label required">{{ __('Country') }}</label>
<select class="form-select" id="cc" name="cc" required="required"> <select class="form-select" id="cc" name="cc" required="required">
{% for country in countries %} {% for country in countries %}
<option value="{{ country.alpha2|lower }}">{{ country.name }}</option> <option value="{{ country.alpha2|lower }}">{{ country.name }}</option>
@ -126,60 +126,60 @@
</div> </div>
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseAddrInt" name="disclose_addr_int"> <input class="form-check-input" type="checkbox" id="discloseAddrInt" name="disclose_addr_int">
<span class="form-check-label" for="discloseAddrInt">Disclose Address in WHOIS</span> <span class="form-check-label" for="discloseAddrInt">{{ __('Disclose Address in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Second Column: Voice, Fax, Email, and other details --> <!-- Second Column: Voice, Fax, Email, and other details -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">Contact Details</h6> <h6 class="mb-3">{{ __('Contact Details') }}</h6>
<!-- Contact ID --> <!-- Contact ID -->
<div class="mb-3"> <div class="mb-3">
<label for="contactid" class="form-label required">Contact ID</label> <label for="contactid" class="form-label required">{{ __('Contact ID') }}</label>
<input type="text" class="form-control" id="contactid" name="contactid" required="required"> <input type="text" class="form-control" id="contactid" name="contactid" required="required">
</div> </div>
<!-- Voice --> <!-- Voice -->
<div class="mb-3"> <div class="mb-3">
<label for="voice" class="form-label required">Voice</label> <label for="voice" class="form-label required">{{ __('Voice') }}</label>
<input type="tel" class="form-control" id="voice" name="voice" required="required"> <input type="tel" class="form-control" id="voice" name="voice" required="required">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseVoice" name="disclose_voice"> <input class="form-check-input" type="checkbox" id="discloseVoice" name="disclose_voice">
<span class="form-check-label" for="discloseVoice">Disclose in WHOIS</span> <span class="form-check-label" for="discloseVoice">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Fax --> <!-- Fax -->
<div class="mb-3"> <div class="mb-3">
<label for="fax" class="form-label">Fax</label> <label for="fax" class="form-label">{{ __('Fax') }}</label>
<input type="tel" class="form-control" id="fax" name="fax"> <input type="tel" class="form-control" id="fax" name="fax">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseFax" name="disclose_fax"> <input class="form-check-input" type="checkbox" id="discloseFax" name="disclose_fax">
<span class="form-check-label" for="discloseFax">Disclose in WHOIS</span> <span class="form-check-label" for="discloseFax">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Email --> <!-- Email -->
<div class="mb-3"> <div class="mb-3">
<label for="email" class="form-label required">Email</label> <label for="email" class="form-label required">{{ __('Email') }}</label>
<input type="email" class="form-control" id="email" name="email" required="required" autocapitalize="none"> <input type="email" class="form-control" id="email" name="email" required="required" autocapitalize="none">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseEmail" name="disclose_email"> <input class="form-check-input" type="checkbox" id="discloseEmail" name="disclose_email">
<span class="form-check-label" for="discloseEmail">Disclose in WHOIS</span> <span class="form-check-label" for="discloseEmail">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- AuthInfo for Contact --> <!-- AuthInfo for Contact -->
<div class="mb-3"> <div class="mb-3">
<label for="authInfo" class="form-label required">Contact AuthInfo</label> <label for="authInfo" class="form-label required">{{ __('Contact AuthInfo') }}</label>
<input type="text" class="form-control" id="authInfo" name="authInfo" readonly> <input type="text" class="form-control" id="authInfo" name="authInfo" readonly>
<small class="form-text text-muted">Auto-generated authentication information for the contact.</small> <small class="form-text text-muted">{{ __('Auto-generated authentication information for the contact') }}.</small>
</div> </div>
<!-- NIN - National Identification Number --> <!-- NIN - National Identification Number -->
<div class="mb-3"> <div class="mb-3">
<label for="nin" class="form-label">NIN - National Identification Number</label> <label for="nin" class="form-label">{{ __('NIN - National Identification Number') }}</label>
<input type="text" class="form-control" id="nin" name="nin"> <input type="text" class="form-control" id="nin" name="nin">
</div> </div>
@ -187,7 +187,7 @@
<div class="mb-3"> <div class="mb-3">
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="isBusiness" name="isBusiness"> <input type="checkbox" class="form-check-input" id="isBusiness" name="isBusiness">
<label class="form-check-label" for="isBusiness">This is a Business Contact</label> <label class="form-check-label" for="isBusiness">{{ __('This is a Business Contact') }}</label>
</div> </div>
<!-- You can invert the logic if you prefer the default to be 'Personal' instead of 'Business' --> <!-- You can invert the logic if you prefer the default to be 'Personal' instead of 'Business' -->
</div> </div>
@ -195,15 +195,15 @@
<div class="mb-3"> <div class="mb-3">
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="verifyPhone" name="verifyPhone"> <input type="checkbox" class="form-check-input" id="verifyPhone" name="verifyPhone">
<label class="form-check-label" for="verifyPhone">Verify by Phone</label> <label class="form-check-label" for="verifyPhone">{{ __('Verify by Phone') }}</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="verifyEmail" name="verifyEmail"> <input type="checkbox" class="form-check-input" id="verifyEmail" name="verifyEmail">
<label class="form-check-label" for="verifyEmail">Verify by Email</label> <label class="form-check-label" for="verifyEmail">{{ __('Verify by Email') }}</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="verifyPostal" name="verifyPostal"> <input type="checkbox" class="form-check-input" id="verifyPostal" name="verifyPostal">
<label class="form-check-label" for="verifyPostal">Verify by Postal Mail</label> <label class="form-check-label" for="verifyPostal">{{ __('Verify by Postal Mail') }}</label>
</div> </div>
</div> </div>
@ -214,7 +214,7 @@
<div class="mb-3"> <div class="mb-3">
<label class="form-check form-switch"> <label class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="toggleLoc"> <input class="form-check-input" type="checkbox" id="toggleLoc">
<span class="form-check-label" for="toggleLoc">Include Localized Info</span> <span class="form-check-label" for="toggleLoc">{{ __('Include Localized Info') }}</span>
</label> </label>
</div> </div>
@ -222,64 +222,64 @@
<div class="row" id="localizedInfo" style="display: none;"> <div class="row" id="localizedInfo" style="display: none;">
<!-- Localized Postal Info: First Column --> <!-- Localized Postal Info: First Column -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">Localized Postal Info: Personal Details</h6> <h6 class="mb-3">{{ __('Localized Postal Info: Personal Details') }}</h6>
<!-- Localized Name --> <!-- Localized Name -->
<div class="mb-3"> <div class="mb-3">
<label for="locName" class="form-label">Name</label> <label for="locName" class="form-label">{{ __('Name') }}</label>
<input type="text" class="form-control" id="locName" name="locName"> <input type="text" class="form-control" id="locName" name="locName">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseNameLoc" name="disclose_name_loc"> <input class="form-check-input" type="checkbox" id="discloseNameLoc" name="disclose_name_loc">
<span class="form-check-label" for="discloseNameLoc">Disclose in WHOIS</span> <span class="form-check-label" for="discloseNameLoc">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Localized Organization --> <!-- Localized Organization -->
<div class="mb-3"> <div class="mb-3">
<label for="locOrg" class="form-label">Organization</label> <label for="locOrg" class="form-label">{{ __('Organization') }}</label>
<input type="text" class="form-control" id="locOrg" name="locOrg"> <input type="text" class="form-control" id="locOrg" name="locOrg">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseOrgLoc" name="disclose_org_loc"> <input class="form-check-input" type="checkbox" id="discloseOrgLoc" name="disclose_org_loc">
<span class="form-check-label" for="discloseOrgLoc">Disclose in WHOIS</span> <span class="form-check-label" for="discloseOrgLoc">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Localized Street Details --> <!-- Localized Street Details -->
<div class="mb-3"> <div class="mb-3">
<label for="locStreet1" class="form-label">Street 1</label> <label for="locStreet1" class="form-label">{{ __('Street') }} 1</label>
<input type="text" class="form-control" id="locStreet1" name="locStreet1"> <input type="text" class="form-control" id="locStreet1" name="locStreet1">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locStreet2" class="form-label">Street 2</label> <label for="locStreet2" class="form-label">{{ __('Street') }} 2</label>
<input type="text" class="form-control" id="locStreet2" name="locStreet2"> <input type="text" class="form-control" id="locStreet2" name="locStreet2">
</div> </div>
</div> </div>
<!-- Localized Postal Info: Second Column --> <!-- Localized Postal Info: Second Column -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">Localized Postal Info: Address Details</h6> <h6 class="mb-3">{{ __('Localized Postal Info: Address Details') }}</h6>
<!-- Continued Localized Street Detail --> <!-- Continued Localized Street Detail -->
<div class="mb-3"> <div class="mb-3">
<label for="locStreet3" class="form-label">Street 3</label> <label for="locStreet3" class="form-label">{{ __('Street') }} 3</label>
<input type="text" class="form-control" id="locStreet3" name="locStreet3"> <input type="text" class="form-control" id="locStreet3" name="locStreet3">
</div> </div>
<!-- Localized City, SP, PC, CC --> <!-- Localized City, SP, PC, CC -->
<div class="mb-3"> <div class="mb-3">
<label for="locCity" class="form-label">City</label> <label for="locCity" class="form-label">{{ __('City') }}</label>
<input type="text" class="form-control" id="locCity" name="locCity"> <input type="text" class="form-control" id="locCity" name="locCity">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locSP" class="form-label">State/Province</label> <label for="locSP" class="form-label">{{ __('State/Province') }}</label>
<input type="text" class="form-control" id="locSP" name="locSP"> <input type="text" class="form-control" id="locSP" name="locSP">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locPC" class="form-label">Postal Code</label> <label for="locPC" class="form-label">{{ __('Postal Code') }}</label>
<input type="text" class="form-control" id="locPC" name="locPC"> <input type="text" class="form-control" id="locPC" name="locPC">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locCC" class="form-label">Country</label> <label for="locCC" class="form-label">{{ __('Country') }}</label>
<select class="form-select" id="locCC" name="locCC"> <select class="form-select" id="locCC" name="locCC">
{% for country in countries %} {% for country in countries %}
<option value="{{ country.alpha2|lower }}">{{ country.name }}</option> <option value="{{ country.alpha2|lower }}">{{ country.name }}</option>
@ -288,7 +288,7 @@
</div> </div>
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseAddrLoc" name="disclose_addr_loc"> <input class="form-check-input" type="checkbox" id="discloseAddrLoc" name="disclose_addr_loc">
<span class="form-check-label" for="discloseAddrLoc">Disclose Address in WHOIS</span> <span class="form-check-label" for="discloseAddrLoc">{{ __('Disclose Address in WHOIS') }}</span>
</label> </label>
</div> </div>
</div> </div>
@ -296,7 +296,7 @@
<div class="card-footer"> <div class="card-footer">
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col-auto"> <div class="col-auto">
<button type="submit" class="btn btn-primary">Create Contact</button> <button type="submit" class="btn btn-primary">{{ __('Create Contact') }}</button>
</div> </div>
</div> </div>
</div> </div>
@ -304,19 +304,7 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
<script> <script>
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {

View file

@ -47,9 +47,9 @@
<button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button> <button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button>
</div> </div>
<div class="ms-auto text-secondary"> <div class="ms-auto text-secondary">
Search: {{ __('Search') }}:
<div class="ms-2 d-inline-block"> <div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search contacts"> <input id="search-input" type="text" class="form-control" aria-label="{{ __('Search contacts') }}">
</div> </div>
</div> </div>
</div> </div>
@ -61,18 +61,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -11,7 +11,7 @@
<div class="col"> <div class="col">
<!-- Page pre-title --> <!-- Page pre-title -->
<div class="page-pretitle"> <div class="page-pretitle">
Overview {{ __('Overview') }}
</div> </div>
<h2 class="page-title"> <h2 class="page-title">
{{ __('Update Contact') }} {{ contact.identifier }} {{ __('Update Contact') }} {{ contact.identifier }}
@ -42,57 +42,57 @@
<div class="row"> <div class="row">
<!-- First Column: General & Internationalized Info --> <!-- First Column: General & Internationalized Info -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">General & Internationalized Info</h6> <h6 class="mb-3">{{ __('General & Internationalized Info') }}</h6>
<!-- Internationalized Name --> <!-- Internationalized Name -->
<div class="mb-3"> <div class="mb-3">
<label for="intName" class="form-label required">Name</label> <label for="intName" class="form-label required">{{ __('Name') }}</label>
<input type="text" class="form-control" id="intName" name="intName" required="required" value="{{ postal_int.name }}"> <input type="text" class="form-control" id="intName" name="intName" required="required" value="{{ postal_int.name }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseNameInt" name="disclose_name_int" {% if postal_int.disclose_name_int == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseNameInt" name="disclose_name_int" {% if postal_int.disclose_name_int == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseNameInt">Disclose in WHOIS</span> <span class="form-check-label" for="discloseNameInt">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Internationalized Organization --> <!-- Internationalized Organization -->
<div class="mb-3"> <div class="mb-3">
<label for="intOrg" class="form-label required">Organization</label> <label for="intOrg" class="form-label required">{{ __('Organization') }}</label>
<input type="text" class="form-control" id="intOrg" name="org" required="required" value="{{ postal_int.org }}"> <input type="text" class="form-control" id="intOrg" name="org" required="required" value="{{ postal_int.org }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseOrgInt" name="disclose_org_int" {% if postal_int.disclose_org_int == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseOrgInt" name="disclose_org_int" {% if postal_int.disclose_org_int == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseOrgInt">Disclose in WHOIS</span> <span class="form-check-label" for="discloseOrgInt">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Internationalized Address: Street Details --> <!-- Internationalized Address: Street Details -->
<div class="mb-3"> <div class="mb-3">
<label for="street1" class="form-label required">Street 1</label> <label for="street1" class="form-label required">{{ __('Street') }} 1</label>
<input type="text" class="form-control" id="street1" name="street1" required="required" value="{{ postal_int.street1 }}"> <input type="text" class="form-control" id="street1" name="street1" required="required" value="{{ postal_int.street1 }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="street2" class="form-label">Street 2</label> <label for="street2" class="form-label">{{ __('Street') }} 2</label>
<input type="text" class="form-control" id="street2" name="street2" value="{{ postal_int.street2 }}"> <input type="text" class="form-control" id="street2" name="street2" value="{{ postal_int.street2 }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="street3" class="form-label">Street 3</label> <label for="street3" class="form-label">{{ __('Street') }} 3</label>
<input type="text" class="form-control" id="street3" name="street3" value="{{ postal_int.street3 }}"> <input type="text" class="form-control" id="street3" name="street3" value="{{ postal_int.street3 }}">
</div> </div>
<!-- Internationalized Address: City, SP, PC, CC --> <!-- Internationalized Address: City, SP, PC, CC -->
<div class="mb-3"> <div class="mb-3">
<label for="city" class="form-label required">City</label> <label for="city" class="form-label required">{{ __('City') }}</label>
<input type="text" class="form-control" id="city" name="city" required="required" value="{{ postal_int.city }}"> <input type="text" class="form-control" id="city" name="city" required="required" value="{{ postal_int.city }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="sp" class="form-label">State/Province</label> <label for="sp" class="form-label">{{ __('State/Province') }}</label>
<input type="text" class="form-control" id="sp" name="sp" value="{{ postal_int.sp }}"> <input type="text" class="form-control" id="sp" name="sp" value="{{ postal_int.sp }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="pc" class="form-label">Postal Code</label> <label for="pc" class="form-label">{{ __('Postal Code') }}</label>
<input type="text" class="form-control" id="pc" name="pc" value="{{ postal_int.pc }}"> <input type="text" class="form-control" id="pc" name="pc" value="{{ postal_int.pc }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="cc" class="form-label required">Country</label> <label for="cc" class="form-label required">{{ __('Country') }}</label>
<select class="form-select" id="cc" name="cc" required="required"> <select class="form-select" id="cc" name="cc" required="required">
{% for country in countries %} {% for country in countries %}
<option value="{{ country.alpha2 }}" {% if postal_int.cc == country.alpha2 %}selected{% endif %}>{{ country.name }}</option> <option value="{{ country.alpha2 }}" {% if postal_int.cc == country.alpha2 %}selected{% endif %}>{{ country.name }}</option>
@ -101,54 +101,54 @@
</div> </div>
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseAddrInt" name="disclose_addr_int" {% if postal_int.disclose_addr_int == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseAddrInt" name="disclose_addr_int" {% if postal_int.disclose_addr_int == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseAddrInt">Disclose Address in WHOIS</span> <span class="form-check-label" for="discloseAddrInt">{{ __('Disclose Address in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Second Column: Voice, Fax, Email, and other details --> <!-- Second Column: Voice, Fax, Email, and other details -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">Contact Details</h6> <h6 class="mb-3">{{ __('Contact Details') }}</h6>
<!-- Voice --> <!-- Voice -->
<div class="mb-3"> <div class="mb-3">
<label for="voice" class="form-label required">Voice</label> <label for="voice" class="form-label required">{{ __('Voice') }}</label>
<input type="tel" class="form-control" id="voice" name="voice" required="required" value="{{ contact.voice }}"> <input type="tel" class="form-control" id="voice" name="voice" required="required" value="{{ contact.voice }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseVoice" name="disclose_voice" {% if contact.disclose_voice == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseVoice" name="disclose_voice" {% if contact.disclose_voice == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseVoice">Disclose in WHOIS</span> <span class="form-check-label" for="discloseVoice">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Fax --> <!-- Fax -->
<div class="mb-3"> <div class="mb-3">
<label for="fax" class="form-label">Fax</label> <label for="fax" class="form-label">{{ __('Fax') }}</label>
<input type="tel" class="form-control" id="fax" name="fax" value="{{ contact.fax }}"> <input type="tel" class="form-control" id="fax" name="fax" value="{{ contact.fax }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseFax" name="disclose_fax" {% if contact.disclose_fax == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseFax" name="disclose_fax" {% if contact.disclose_fax == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseFax">Disclose in WHOIS</span> <span class="form-check-label" for="discloseFax">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Email --> <!-- Email -->
<div class="mb-3"> <div class="mb-3">
<label for="email" class="form-label required">Email</label> <label for="email" class="form-label required">{{ __('Email') }}</label>
<input type="email" class="form-control" id="email" name="email" required="required" autocapitalize="none" value="{{ contact.email }}"> <input type="email" class="form-control" id="email" name="email" required="required" autocapitalize="none" value="{{ contact.email }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseEmail" name="disclose_email" {% if contact.disclose_email == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseEmail" name="disclose_email" {% if contact.disclose_email == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseEmail">Disclose in WHOIS</span> <span class="form-check-label" for="discloseEmail">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- AuthInfo for Contact --> <!-- AuthInfo for Contact -->
<div class="mb-3"> <div class="mb-3">
<label for="authInfo" class="form-label required">Contact AuthInfo</label> <label for="authInfo" class="form-label required">{{ __('Contact AuthInfo') }}</label>
<input type="text" class="form-control" id="authInfo" name="authInfo" value="{{ contactAuth.authinfo }}"> <input type="text" class="form-control" id="authInfo" name="authInfo" value="{{ contactAuth.authinfo }}">
<small class="form-text text-muted">Authentication information for the contact.</small> <small class="form-text text-muted">{{ __('Authentication information for the contact') }}.</small>
</div> </div>
<!-- NIN - National Identification Number --> <!-- NIN - National Identification Number -->
<div class="mb-3"> <div class="mb-3">
<label for="nin" class="form-label">NIN - National Identification Number</label> <label for="nin" class="form-label">{{ __('NIN - National Identification Number') }}</label>
<input type="text" class="form-control" id="nin" name="nin" value="{{ contact.nin }}"> <input type="text" class="form-control" id="nin" name="nin" value="{{ contact.nin }}">
</div> </div>
@ -156,7 +156,7 @@
<div class="mb-3"> <div class="mb-3">
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="isBusiness" name="isBusiness" {% if contact.nin_type == 'business' %}checked{% endif %}> <input type="checkbox" class="form-check-input" id="isBusiness" name="isBusiness" {% if contact.nin_type == 'business' %}checked{% endif %}>
<label class="form-check-label" for="isBusiness">This is a Business Contact</label> <label class="form-check-label" for="isBusiness">{{ __('This is a Business Contact') }}</label>
</div> </div>
<!-- You can invert the logic if you prefer the default to be 'Personal' instead of 'Business' --> <!-- You can invert the logic if you prefer the default to be 'Personal' instead of 'Business' -->
</div> </div>
@ -164,15 +164,15 @@
<div class="mb-3"> <div class="mb-3">
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="verifyPhone" name="verifyPhone"> <input type="checkbox" class="form-check-input" id="verifyPhone" name="verifyPhone">
<label class="form-check-label" for="verifyPhone">Verify by Phone</label> <label class="form-check-label" for="verifyPhone">{{ __('Verify by Phone') }}</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="verifyEmail" name="verifyEmail"> <input type="checkbox" class="form-check-input" id="verifyEmail" name="verifyEmail">
<label class="form-check-label" for="verifyEmail">Verify by Email</label> <label class="form-check-label" for="verifyEmail">{{ __('Verify by Email') }}</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input type="checkbox" class="form-check-input" id="verifyPostal" name="verifyPostal"> <input type="checkbox" class="form-check-input" id="verifyPostal" name="verifyPostal">
<label class="form-check-label" for="verifyPostal">Verify by Postal Mail</label> <label class="form-check-label" for="verifyPostal">{{ __('Verify by Postal Mail') }}</label>
</div> </div>
</div> </div>
@ -183,7 +183,7 @@
<div class="mb-3"> <div class="mb-3">
<label class="form-check form-switch"> <label class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="toggleLoc" {% if postal_loc.cc %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="toggleLoc" {% if postal_loc.cc %}checked{% endif %}>
<span class="form-check-label" for="toggleLoc">Include Localized Info</span> <span class="form-check-label" for="toggleLoc">{{ __('Include Localized Info') }}</span>
</label> </label>
</div> </div>
@ -191,64 +191,64 @@
<div class="row" id="localizedInfo" style="display: none;"> <div class="row" id="localizedInfo" style="display: none;">
<!-- Localized Postal Info: First Column --> <!-- Localized Postal Info: First Column -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">Localized Postal Info: Personal Details</h6> <h6 class="mb-3">{{ __('Localized Postal Info: Personal Details') }}</h6>
<!-- Localized Name --> <!-- Localized Name -->
<div class="mb-3"> <div class="mb-3">
<label for="locName" class="form-label">Name</label> <label for="locName" class="form-label">{{ __('Name') }}</label>
<input type="text" class="form-control" id="locName" name="locName" value="{{ postal_loc.name }}"> <input type="text" class="form-control" id="locName" name="locName" value="{{ postal_loc.name }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseNameLoc" name="disclose_name_loc" {% if postal_loc.disclose_name_loc == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseNameLoc" name="disclose_name_loc" {% if postal_loc.disclose_name_loc == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseNameLoc">Disclose in WHOIS</span> <span class="form-check-label" for="discloseNameLoc">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Localized Organization --> <!-- Localized Organization -->
<div class="mb-3"> <div class="mb-3">
<label for="locOrg" class="form-label">Organization</label> <label for="locOrg" class="form-label">{{ __('Organization') }}</label>
<input type="text" class="form-control" id="locOrg" name="locOrg" value="{{ postal_loc.org }}"> <input type="text" class="form-control" id="locOrg" name="locOrg" value="{{ postal_loc.org }}">
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseOrgLoc" name="disclose_org_loc" {% if postal_loc.disclose_org_loc == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseOrgLoc" name="disclose_org_loc" {% if postal_loc.disclose_org_loc == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseOrgLoc">Disclose in WHOIS</span> <span class="form-check-label" for="discloseOrgLoc">{{ __('Disclose in WHOIS') }}</span>
</label> </label>
</div> </div>
<!-- Localized Street Details --> <!-- Localized Street Details -->
<div class="mb-3"> <div class="mb-3">
<label for="locStreet1" class="form-label">Street 1</label> <label for="locStreet1" class="form-label">{{ __('Street') }} 1</label>
<input type="text" class="form-control" id="locStreet1" name="locStreet1" value="{{ postal_loc.street1 }}"> <input type="text" class="form-control" id="locStreet1" name="locStreet1" value="{{ postal_loc.street1 }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locStreet2" class="form-label">Street 2</label> <label for="locStreet2" class="form-label">{{ __('Street') }} 2</label>
<input type="text" class="form-control" id="locStreet2" name="locStreet2" value="{{ postal_loc.street2 }}"> <input type="text" class="form-control" id="locStreet2" name="locStreet2" value="{{ postal_loc.street2 }}">
</div> </div>
</div> </div>
<!-- Localized Postal Info: Second Column --> <!-- Localized Postal Info: Second Column -->
<div class="col-md-6"> <div class="col-md-6">
<h6 class="mb-3">Localized Postal Info: Address Details</h6> <h6 class="mb-3">{{ __('Localized Postal Info: Address Details') }}</h6>
<!-- Continued Localized Street Detail --> <!-- Continued Localized Street Detail -->
<div class="mb-3"> <div class="mb-3">
<label for="locStreet3" class="form-label">Street 3</label> <label for="locStreet3" class="form-label">{{ __('Street') }} 3</label>
<input type="text" class="form-control" id="locStreet3" name="locStreet3" value="{{ postal_loc.street3 }}"> <input type="text" class="form-control" id="locStreet3" name="locStreet3" value="{{ postal_loc.street3 }}">
</div> </div>
<!-- Localized City, SP, PC, CC --> <!-- Localized City, SP, PC, CC -->
<div class="mb-3"> <div class="mb-3">
<label for="locCity" class="form-label">City</label> <label for="locCity" class="form-label">{{ __('City') }}</label>
<input type="text" class="form-control" id="locCity" name="locCity" value="{{ postal_loc.city }}"> <input type="text" class="form-control" id="locCity" name="locCity" value="{{ postal_loc.city }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locSP" class="form-label">State/Province</label> <label for="locSP" class="form-label">{{ __('State/Province') }}</label>
<input type="text" class="form-control" id="locSP" name="locSP" value="{{ postal_loc.sp }}"> <input type="text" class="form-control" id="locSP" name="locSP" value="{{ postal_loc.sp }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locPC" class="form-label">Postal Code</label> <label for="locPC" class="form-label">{{ __('Postal Code') }}</label>
<input type="text" class="form-control" id="locPC" name="locPC" value="{{ postal_loc.pc }}"> <input type="text" class="form-control" id="locPC" name="locPC" value="{{ postal_loc.pc }}">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="locCC" class="form-label">Country</label> <label for="locCC" class="form-label">{{ __('Country') }}</label>
<select class="form-select" id="locCC" name="locCC"> <select class="form-select" id="locCC" name="locCC">
{% for country in countries %} {% for country in countries %}
<option value="{{ country.alpha2 }}" {% if postal_loc.cc == country.alpha2 %}selected{% endif %}>{{ country.name }}</option> <option value="{{ country.alpha2 }}" {% if postal_loc.cc == country.alpha2 %}selected{% endif %}>{{ country.name }}</option>
@ -257,7 +257,7 @@
</div> </div>
<label class="form-check form-switch mt-1"> <label class="form-check form-switch mt-1">
<input class="form-check-input" type="checkbox" id="discloseAddrLoc" name="disclose_addr_loc" {% if postal_loc.disclose_addr_loc == '1' %}checked{% endif %}> <input class="form-check-input" type="checkbox" id="discloseAddrLoc" name="disclose_addr_loc" {% if postal_loc.disclose_addr_loc == '1' %}checked{% endif %}>
<span class="form-check-label" for="discloseAddrLoc">Disclose Address in WHOIS</span> <span class="form-check-label" for="discloseAddrLoc">{{ __('Disclose Address in WHOIS') }}</span>
</label> </label>
</div> </div>
</div> </div>
@ -265,7 +265,7 @@
<div class="card-footer"> <div class="card-footer">
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col-auto"> <div class="col-auto">
<button type="submit" class="btn btn-primary">Update Contact</button> <button type="submit" class="btn btn-primary">{{ __('Update Contact') }}</button>
</div> </div>
</div> </div>
</div> </div>
@ -273,19 +273,7 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
<script> <script>
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {

View file

@ -26,24 +26,24 @@
<div class="col-12"> <div class="col-12">
<div class="card mb-3"> <div class="card mb-3">
<div class="card-header"> <div class="card-header">
<h3 class="card-title">Contact {{ contact.identifier }}&nbsp;<span class="status status-green">{{ contactStatus.status }}</span>{% if contactLinked is not null %}&nbsp;<span class="status status-info">linked</span>{% endif %}</h3> <h3 class="card-title">{{ __('Contact') }} {{ contact.identifier }}&nbsp;<span class="status status-green">{{ contactStatus.status }}</span>{% if contactLinked is not null %}&nbsp;<span class="status status-info">{{ __('linked') }}</span>{% endif %}</h3>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="datagrid"> <div class="datagrid">
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Email</div> <div class="datagrid-title">{{ __('Email') }}</div>
<div class="datagrid-content">{{ contact.email }} {% if contact.disclose_email == '1' %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>{% else %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>{% endif %}</div> <div class="datagrid-content">{{ contact.email }} {% if contact.disclose_email == '1' %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>{% else %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>{% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Phone</div> <div class="datagrid-title">{{ __('Phone') }}</div>
<div class="datagrid-content">{{ contact.voice }} {% if contact.disclose_voice == '1' %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>{% else %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>{% endif %}</div> <div class="datagrid-content">{{ contact.voice }} {% if contact.disclose_voice == '1' %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>{% else %}<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>{% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Creation Date</div> <div class="datagrid-title">{{ __('Creation Date') }}</div>
<div class="datagrid-content">{{ contact.crdate }}</div> <div class="datagrid-content">{{ contact.crdate }}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Registrar</div> <div class="datagrid-title">{{ __('Registrar') }}</div>
<div class="datagrid-content">{{ registrars.name }}</div> <div class="datagrid-content">{{ registrars.name }}</div>
</div> </div>
</div> </div>
@ -53,10 +53,10 @@
<div class="card-header"> <div class="card-header">
<ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs"> <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-int" class="nav-link active" data-bs-toggle="tab">International</a> <a href="#tabs-int" class="nav-link active" data-bs-toggle="tab">{{ __('International') }}</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-loc" class="nav-link" data-bs-toggle="tab">Localized</a> <a href="#tabs-loc" class="nav-link" data-bs-toggle="tab">{{ __('Localized') }}</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -69,70 +69,70 @@
{% if postal.type == 'int' %} {% if postal.type == 'int' %}
{% set intExists = true %} {% set intExists = true %}
<div class="tab-pane active show" id="tabs-int"> <div class="tab-pane active show" id="tabs-int">
<h4>International Contact Details</h4> <h4>{{ __('International Contact Details') }}</h4>
<div class="datagrid"> <div class="datagrid">
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Name</div> <div class="datagrid-title">{{ __('Name') }}</div>
<div class="datagrid-content">{{ postal.name }} {% if postal.disclose_name_int == '1' %} <div class="datagrid-content">{{ postal.name }} {% if postal.disclose_name_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Organization</div> <div class="datagrid-title">{{ __('Organization') }}</div>
<div class="datagrid-content">{{ postal.org }} {% if postal.disclose_org_int == '1' %} <div class="datagrid-content">{{ postal.org }} {% if postal.disclose_org_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Street 1</div> <div class="datagrid-title">{{ __('Street') }} 1</div>
<div class="datagrid-content">{{ postal.street1 }} {% if postal.disclose_addr_int == '1' %} <div class="datagrid-content">{{ postal.street1 }} {% if postal.disclose_addr_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Street 2</div> <div class="datagrid-title">{{ __('Street') }} 2</div>
<div class="datagrid-content">{{ postal.street2 }} {% if postal.disclose_addr_int == '1' %} <div class="datagrid-content">{{ postal.street2 }} {% if postal.disclose_addr_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">City</div> <div class="datagrid-title">{{ __('City') }}</div>
<div class="datagrid-content">{{ postal.city }} {% if postal.disclose_addr_int == '1' %} <div class="datagrid-content">{{ postal.city }} {% if postal.disclose_addr_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">State/Province</div> <div class="datagrid-title">{{ __('State/Province') }}</div>
<div class="datagrid-content">{{ postal.sp }} {% if postal.disclose_addr_int == '1' %} <div class="datagrid-content">{{ postal.sp }} {% if postal.disclose_addr_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Postal Code</div> <div class="datagrid-title">{{ __('Postal Code') }}</div>
<div class="datagrid-content">{{ postal.pc }} {% if postal.disclose_addr_int == '1' %} <div class="datagrid-content">{{ postal.pc }} {% if postal.disclose_addr_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Country</div> <div class="datagrid-title">{{ __('Country') }}</div>
<div class="datagrid-content">{{ postal.cc }} {% if postal.disclose_addr_int == '1' %} <div class="datagrid-content">{{ postal.cc }} {% if postal.disclose_addr_int == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
</div> </div>
@ -146,70 +146,70 @@
{% for postal in contactPostal %} {% for postal in contactPostal %}
{% if postal.type == 'loc' %} {% if postal.type == 'loc' %}
<div class="tab-pane" id="tabs-loc"> <div class="tab-pane" id="tabs-loc">
<h4>Localized Contact Details</h4> <h4>{{ __('Localized Contact Details') }}</h4>
<div class="datagrid"> <div class="datagrid">
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Name</div> <div class="datagrid-title">{{ __('Name') }}</div>
<div class="datagrid-content">{{ postal.name }} {% if postal.disclose_name_loc == '1' %} <div class="datagrid-content">{{ postal.name }} {% if postal.disclose_name_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Organization</div> <div class="datagrid-title">{{ __('Organization') }}</div>
<div class="datagrid-content">{{ postal.org }} {% if postal.disclose_org_loc == '1' %} <div class="datagrid-content">{{ postal.org }} {% if postal.disclose_org_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Street 1</div> <div class="datagrid-title">{{ __('Street') }} 1</div>
<div class="datagrid-content">{{ postal.street1 }} {% if postal.disclose_addr_loc == '1' %} <div class="datagrid-content">{{ postal.street1 }} {% if postal.disclose_addr_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Street 2</div> <div class="datagrid-title">{{ __('Street') }} 2</div>
<div class="datagrid-content">{{ postal.street2 }} {% if postal.disclose_addr_loc == '1' %} <div class="datagrid-content">{{ postal.street2 }} {% if postal.disclose_addr_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">City</div> <div class="datagrid-title">{{ __('City') }}</div>
<div class="datagrid-content">{{ postal.city }} {% if postal.disclose_addr_loc == '1' %} <div class="datagrid-content">{{ postal.city }} {% if postal.disclose_addr_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">State/Province</div> <div class="datagrid-title">{{ __('State/Province') }}</div>
<div class="datagrid-content">{{ postal.sp }} {% if postal.disclose_addr_loc == '1' %} <div class="datagrid-content">{{ postal.sp }} {% if postal.disclose_addr_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Postal Code</div> <div class="datagrid-title">{{ __('Postal Code') }}</div>
<div class="datagrid-content">{{ postal.pc }} {% if postal.disclose_addr_loc == '1' %} <div class="datagrid-content">{{ postal.pc }} {% if postal.disclose_addr_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Country</div> <div class="datagrid-title">{{ __('Country') }}</div>
<div class="datagrid-content">{{ postal.cc }} {% if postal.disclose_addr_loc == '1' %} <div class="datagrid-content">{{ postal.cc }} {% if postal.disclose_addr_loc == '1' %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Visible in Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-green" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Visible in Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0" /><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6" /></svg>
{% else %} {% else %}
<svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>Hidden from Public</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg> <svg xmlns="http://www.w3.org/2000/svg" class="icon text-orange" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><title>{{ __('Hidden from Public') }}</title><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828" /><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" /><path d="M3 3l18 18" /></svg>
{% endif %}</div> {% endif %}</div>
</div> </div>
</div> </div>
@ -218,8 +218,8 @@
{% endfor %} {% endfor %}
{% else %} {% else %}
<div class="tab-pane" id="tabs-loc"> <div class="tab-pane" id="tabs-loc">
<h4>Localized Contact Details</h4> <h4>{{ __('Localized Contact Details') }}</h4>
<div>No Localized Contact Information Available</div> <div>{{ __('No Localized Contact Information Available') }}</div>
</div> </div>
{% endif %} {% endif %}
{% endif %} {% endif %}
@ -229,18 +229,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -11,7 +11,7 @@
<div class="col"> <div class="col">
<!-- Page pre-title --> <!-- Page pre-title -->
<div class="page-pretitle"> <div class="page-pretitle">
Overview {{ __('Overview') }}
</div> </div>
<h2 class="page-title"> <h2 class="page-title">
{{ __('Create Host') }} {{ __('Create Host') }}
@ -84,7 +84,7 @@
<div class="card-footer"> <div class="card-footer">
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col-auto"> <div class="col-auto">
<button type="submit" class="btn btn-primary">Create Host</button> <button type="submit" class="btn btn-primary">{{ __('Create Host') }}</button>
</div> </div>
</div> </div>
</div> </div>
@ -93,18 +93,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -47,9 +47,9 @@
<button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button> <button class="btn btn-red btn-icon" onclick="downloadPDF()"><svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 8v8h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-2z"></path><path d="M3 12h2a2 2 0 1 0 0 -4h-2v8"></path><path d="M17 12h3"></path><path d="M21 8h-4v8"></path></svg></button>
</div> </div>
<div class="ms-auto text-secondary"> <div class="ms-auto text-secondary">
Search: {{ __('Search') }}:
<div class="ms-2 d-inline-block"> <div class="ms-2 d-inline-block">
<input id="search-input" type="text" class="form-control" aria-label="Search hosts" autocapitalize="none"> <input id="search-input" type="text" class="form-control" aria-label="{{ __('Search hosts') }}" autocapitalize="none">
</div> </div>
</div> </div>
</div> </div>
@ -61,18 +61,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -11,7 +11,7 @@
<div class="col"> <div class="col">
<!-- Page pre-title --> <!-- Page pre-title -->
<div class="page-pretitle"> <div class="page-pretitle">
Overview {{ __('Overview') }}
</div> </div>
<h2 class="page-title"> <h2 class="page-title">
{{ __('Update Host') }} {{ host.name }} {{ __('Update Host') }} {{ host.name }}
@ -44,7 +44,7 @@
<div class="card-footer"> <div class="card-footer">
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col-auto"> <div class="col-auto">
<button type="submit" class="btn btn-primary">Update Host</button> <button type="submit" class="btn btn-primary">{{ __('Update Host') }}</button>
</div> </div>
</div> </div>
</div> </div>
@ -53,18 +53,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -11,7 +11,7 @@
<div class="col"> <div class="col">
<!-- Page pre-title --> <!-- Page pre-title -->
<div class="page-pretitle"> <div class="page-pretitle">
Overview {{ __('Overview') }}
</div> </div>
<h2 class="page-title"> <h2 class="page-title">
{{ __('Update Host') }} {{ host.name }} {{ __('Update Host') }} {{ host.name }}
@ -27,24 +27,12 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="alert alert-important alert-info" role="alert"> <div class="alert alert-important alert-info" role="alert">
The host you're trying to update, <strong>{{ host.name }}</strong>, is external to the registry. Consequently, it does not store any IP addresses within our system, and therefore, does not require any updates from your end. This means there are no associated IP addresses under our management that need your attention. {{ __('The host you're trying to update') }}, <strong>{{ host.name }}</strong>, {{ __('is external to the registry. Consequently, it does not store any IP addresses within our system, and therefore, does not require any updates from your end. This means there are no associated IP addresses under our management that need your attention.') }}
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -26,7 +26,7 @@
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<h3 class="card-title">{{ host.name }}&nbsp;<span class="status status-green">{{ hostStatus.status }}</span>{% if hostLinked is not null %}&nbsp;<span class="status status-info">linked</span>{% endif %}</h3> <h3 class="card-title">{{ host.name }}&nbsp;<span class="status status-green">{{ hostStatus.status }}</span>{% if hostLinked is not null %}&nbsp;<span class="status status-info">{{ __('linked') }}</span>{% endif %}</h3>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="datagrid"> <div class="datagrid">
@ -55,11 +55,11 @@
</div> </div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Creation Date</div> <div class="datagrid-title">{{ __('Creation Date') }}</div>
<div class="datagrid-content">{{ host.crdate }}</div> <div class="datagrid-content">{{ host.crdate }}</div>
</div> </div>
<div class="datagrid-item"> <div class="datagrid-item">
<div class="datagrid-title">Registrar</div> <div class="datagrid-title">{{ __('Registrar') }}</div>
<div class="datagrid-content">{{ registrars.name }}</div> <div class="datagrid-content">{{ registrars.name }}</div>
</div> </div>
</div> </div>
@ -68,18 +68,6 @@
</div> </div>
</div> </div>
</div> </div>
<footer class="footer footer-transparent d-print-none"> {% include 'partials/footer.twig' %}
<div class="container-xl">
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; 2023
<a href="https://namingo.org" target="_blank" class="link-secondary">Namingo</a>.
</li>
</ul>
</div>
</div>
</div>
</footer>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -6,11 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>{% block title %}{% endblock %} | Namingo</title> <title>{% block title %}{% endblock %} | Namingo</title>
<!-- CSS files --> <!-- CSS files -->
{% if route_is('domains') or route_is('applications') or route_is('contacts') or route_is('hosts') or route_is('epphistory') or route_is('registrars') or route_is('transactions') or route_is('overview') or route_is('reports') or route_is('transfers') or route_is('users') or route_is('support') or route_is('poll') or route_is('log') or route_is('invoices') or route_is('registry/tlds') %} {% if route_is('domains') or route_is('applications') or route_is('contacts') or route_is('hosts') or route_is('epphistory') or route_is('registrars') or route_is('transactions') or route_is('overview') or route_is('reports') or route_is('transfers') or route_is('users') or route_is('support') or route_is('poll') or route_is('log') or route_is('invoices') or route_is('registry/tlds') %}{% include 'partials/css-tables.twig' %}{% else %}{% include 'partials/css.twig' %}{% endif %}
{% include 'partials/css-tables.twig' %}
{% else %}
{% include 'partials/css.twig' %}
{% endif %}
<style> <style>
@import url('https://rsms.me/inter/inter.css'); @import url('https://rsms.me/inter/inter.css');
:root { :root {

View file

@ -1,21 +1,21 @@
<link href="/assets/css/tabler.min.css" rel="stylesheet"/> <link href="/assets/css/tabler.min.css" rel="stylesheet"/>
<link href="/assets/css/tabler-flags.min.css" rel="stylesheet"/> <link href="/assets/css/tabler-flags.min.css" rel="stylesheet"/>
<link href="/assets/css/tabler-payments.min.css" rel="stylesheet"/> <link href="/assets/css/tabler-payments.min.css" rel="stylesheet"/>
<link href="/assets/css/tabler-vendors.min.css" rel="stylesheet"/> <link href="/assets/css/tabler-vendors.min.css" rel="stylesheet"/>
{% if screen_mode == 'dark' %} {% if screen_mode == 'dark' %}
<link href="/assets/css/tabulator-dark.min.css" rel="stylesheet"> <link href="/assets/css/tabulator-dark.min.css" rel="stylesheet">
{% else %} {% else %}
<link href="/assets/css/tabulator.min.css" rel="stylesheet"> <link href="/assets/css/tabulator.min.css" rel="stylesheet">
{% endif %} {% endif %}
<link href="/assets/css/sweetalert2.min.css" rel="stylesheet"> <link href="/assets/css/sweetalert2.min.css" rel="stylesheet">
<style> <style>
.small-dropdown .dropdown-item { .small-dropdown .dropdown-item {
padding: 0.25rem 1.5rem; padding: 0.25rem 1.5rem;
} }
.small-dropdown .flag { .small-dropdown .flag {
width: 20px; width: 20px;
height: 15px; height: 15px;
display: inline-block; display: inline-block;
} }
</style> </style>

View file

@ -1,15 +1,15 @@
<link href="/assets/css/tabler.min.css" rel="stylesheet"/> <link href="/assets/css/tabler.min.css" rel="stylesheet"/>
<link href="/assets/css/tabler-flags.min.css" rel="stylesheet"/> <link href="/assets/css/tabler-flags.min.css" rel="stylesheet"/>
<link href="/assets/css/tabler-payments.min.css" rel="stylesheet"/> <link href="/assets/css/tabler-payments.min.css" rel="stylesheet"/>
<link href="/assets/css/tabler-vendors.min.css" rel="stylesheet"/> <link href="/assets/css/tabler-vendors.min.css" rel="stylesheet"/>
<style> <style>
.small-dropdown .dropdown-item { .small-dropdown .dropdown-item {
padding: 0.25rem 1.5rem; padding: 0.25rem 1.5rem;
} }
.small-dropdown .flag { .small-dropdown .flag {
width: 20px; width: 20px;
height: 15px; height: 15px;
display: inline-block; display: inline-block;
} }
</style> </style>

View file

@ -0,0 +1,23 @@
<footer class="footer footer-transparent d-print-none">
<div class="container-xl">
<div class="row text-center align-items-center flex-row-reverse">
<div class="col-lg-auto ms-lg-auto">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item"><a href="https://github.com/getnamingo/registry/blob/main/LICENSE" target="_blank" class="link-secondary" rel="noopener">License</a></li>
<li class="list-inline-item"><a href="https://github.com/getnamingo/registry" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
</ul>
</div>
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright &copy; {{ 'now' | date('Y') }}
<a href="https://namingo.org" target="_blank" class="link-secondary" rel="noopener">Namingo</a>
</li>
<li class="list-inline-item">
v1.0.0-beta4
</li>
</ul>
</div>
</div>
</div>
</footer>