-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update template placeholders syntax & regex
- Loading branch information
1 parent
675ca83
commit dbbb83e
Showing
2 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,8 @@ | |
Upvs::MessageTemplate.find_or_create_by!( | ||
name: 'Všeobecná agenda', | ||
content: '<GeneralAgenda xmlns="http://schemas.gov.sk/form/App.GeneralAgenda/1.9"> | ||
<subject>{{Predmet::text_field}}</subject> | ||
<text>{{Text::text_area}}</text> | ||
<subject>{{ Predmet:text_field }}</subject> | ||
<text>{{ Text:text_area }}</text> | ||
</GeneralAgenda>', | ||
metadata: { | ||
posp_id: 'App.GeneralAgenda', | ||
|
@@ -47,8 +47,8 @@ | |
Upvs::MessageTemplate.find_or_create_by!( | ||
name: MessageTemplate::REPLY_TEMPLATE_NAME, | ||
content: '<GeneralAgenda xmlns="http://schemas.gov.sk/form/App.GeneralAgenda/1.9"> | ||
<subject>{{Predmet::text_field}}</subject> | ||
<text>{{Text::text_area}}</text> | ||
<subject>{{ Predmet:text_field }}</subject> | ||
<text>{{ Text:text_area }}</text> | ||
</GeneralAgenda>', | ||
metadata: { | ||
posp_id: 'App.GeneralAgenda', | ||
|
@@ -66,25 +66,25 @@ | |
<CertificateOwner> | ||
<IdentityType>PO</IdentityType> | ||
<OwnerPoOvm> | ||
<ICO>{{IČO::*text_field}}</ICO> | ||
<ICO>{{ IČO*:text_field }}</ICO> | ||
<Suffix xsi:nil="true" /> | ||
</OwnerPoOvm> | ||
</CertificateOwner> | ||
<ContactPerson> | ||
<ContactName>{{Kontaktná osoba:Ján Suchal:*text_field}}</ContactName> | ||
<Email>{{Email:[email protected]:*email_field}}</Email> | ||
<Phone>{{Telefón:+4190000000:*text_field}}</Phone> | ||
<ContactName>{{ Kontaktná osoba*:text_field:"Ján Suchal" }}</ContactName> | ||
<Email>{{ Email*:email_field:"[email protected]" }}</Email> | ||
<Phone>{{ Telefón*:text_field:"+4190000000" }}</Phone> | ||
</ContactPerson> | ||
<IntegrationContract> | ||
<ProjectID>{{Názov prostriedku:IRVIN:text_field}}</ProjectID> | ||
<ProjectID>{{ Názov prostriedku:text_field:"IRVIN" }}</ProjectID> | ||
</IntegrationContract> | ||
<TechnicalAccount> | ||
<EDeckAccessType>1</EDeckAccessType> | ||
<ValidFrom>{{Dátum začiatku platnosti::*date_field}}</ValidFrom> | ||
<ValidFrom>{{ Dátum začiatku platnosti*:date_field }}</ValidFrom> | ||
<ValidTo xsi:nil="true" /> | ||
</TechnicalAccount> | ||
<AuthentificationCertificateData> | ||
<Thumbprint>{{Digitálny odtlačok::*text_field}}</Thumbprint> | ||
<Thumbprint>{{ Digitálny odtlačok*:text_field }}</Thumbprint> | ||
</AuthentificationCertificateData> | ||
</AuthentificationCertificateWithTechnicalAccountRegistration>', | ||
metadata: { | ||
|
@@ -104,25 +104,25 @@ | |
<CertificateOwner> | ||
<IdentityType>PO</IdentityType> | ||
<OwnerPoOvm> | ||
<ICO>{{IČO::*text_field}}</ICO> | ||
<ICO>{{ IČO*:text_field }}</ICO> | ||
<Suffix xsi:nil="true" /> | ||
</OwnerPoOvm> | ||
</CertificateOwner> | ||
<ContactPerson> | ||
<ContactName>{{Kontaktná osoba::*text_field}}</ContactName> | ||
<Email>{{Email::*email_field}}</Email> | ||
<Phone>{{Telefón::*text_field}}</Phone> | ||
<ContactName>{{ Kontaktná osoba*:text_field }}</ContactName> | ||
<Email>{{ Email*:email_field }}</Email> | ||
<Phone>{{ Telefón*:text_field }}</Phone> | ||
</ContactPerson> | ||
<IntegrationContract> | ||
<ProjectID>{{Názov prostriedku::text_field}}</ProjectID> | ||
<ProjectID>{{ Názov prostriedku:text_field }}</ProjectID> | ||
</IntegrationContract> | ||
<TechnicalAccount> | ||
<EDeckAccessType>1</EDeckAccessType> | ||
<ValidFrom>{{Dátum začiatku platnosti::*date_field}}</ValidFrom> | ||
<ValidFrom>{{ Dátum začiatku platnosti*:date_field }}</ValidFrom> | ||
<ValidTo xsi:nil="true" /> | ||
</TechnicalAccount> | ||
<AuthentificationCertificateData> | ||
<Thumbprint>{{Digitálny odtlačok::*text_field}}</Thumbprint> | ||
<Thumbprint>{{ Digitálny odtlačok*:text_field }}</Thumbprint> | ||
</AuthentificationCertificateData> | ||
</AuthentificationCertificateWithTechnicalAccountRegistration>', | ||
metadata: { | ||
|