mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 13:51:15 +02:00
mv com/google/domain/registry google/registry
This change renames directories in preparation for the great package rename. The repository is now in a broken state because the code itself hasn't been updated. However this should ensure that git correctly preserves history for each file.
This commit is contained in:
parent
a41677aea1
commit
5012893c1d
2396 changed files with 0 additions and 0 deletions
72
java/google/registry/tools/soy/CreateContact.soy
Normal file
72
java/google/registry/tools/soy/CreateContact.soy
Normal file
|
@ -0,0 +1,72 @@
|
|||
{namespace domain.registry.tools autoescape="strict"}
|
||||
/**
|
||||
* Create contact
|
||||
*/
|
||||
{template .createcontact}
|
||||
{@param? id: string}
|
||||
{@param? name: string}
|
||||
{@param? org: string}
|
||||
{@param? street: list<string>}
|
||||
{@param? city: string}
|
||||
{@param? state: string}
|
||||
{@param? zip: string}
|
||||
{@param? cc: string}
|
||||
{@param? phone: string}
|
||||
{@param? fax: string}
|
||||
{@param? email: string}
|
||||
{@param password: string}
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<create>
|
||||
<contact:create
|
||||
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
||||
{if $id}
|
||||
<contact:id>{$id}</contact:id>
|
||||
{/if}
|
||||
<contact:postalInfo type="loc">
|
||||
{if $name}
|
||||
<contact:name>{$name}</contact:name>
|
||||
{/if}
|
||||
{if $org}
|
||||
<contact:org>{$org}</contact:org>
|
||||
{/if}
|
||||
<contact:addr>
|
||||
{if $street}
|
||||
{foreach $s in $street}
|
||||
<contact:street>{$s}</contact:street>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if $city}
|
||||
<contact:city>{$city}</contact:city>
|
||||
{/if}
|
||||
{if $state}
|
||||
<contact:sp>{$state}</contact:sp>
|
||||
{/if}
|
||||
{if $zip}
|
||||
<contact:pc>{$zip}</contact:pc>
|
||||
{/if}
|
||||
{if $cc}
|
||||
<contact:cc>{$cc}</contact:cc>
|
||||
{/if}
|
||||
</contact:addr>
|
||||
</contact:postalInfo>
|
||||
{if $phone}
|
||||
<contact:voice>{$phone}</contact:voice>
|
||||
{/if}
|
||||
{if $fax}
|
||||
<contact:fax>{$fax}</contact:fax>
|
||||
{/if}
|
||||
{if $email}
|
||||
<contact:email>{$email}</contact:email>
|
||||
{/if}
|
||||
<contact:authInfo>
|
||||
<contact:pw>{$password}</contact:pw>
|
||||
</contact:authInfo>
|
||||
</contact:create>
|
||||
</create>
|
||||
<clTRID>GTechTool</clTRID>
|
||||
</command>
|
||||
</epp>
|
||||
{/template}
|
Loading…
Add table
Add a link
Reference in a new issue