Skip to content

Commit

Permalink
Merge pull request #4887 from open-formulieren/feature/4320-cosign-im…
Browse files Browse the repository at this point in the history
…provements-3

Cosign improvements - part 3
  • Loading branch information
sergei-maertens authored Dec 6, 2024
2 parents 26615d1 + 6b7e21a commit 2084974
Show file tree
Hide file tree
Showing 10 changed files with 877 additions and 794 deletions.
46 changes: 30 additions & 16 deletions docs/manual/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ formulier ingevuld heeft de relevante informatie handmatig zal doorgeven.
Variabele Beschrijving
================================== ===========================================================================
``{{ form_name }}`` De naam van het formulier.
``{{ submission_date }}`` De datum waarop het formulier is verzonden.
``{{ form_url }}`` De directe link naar het formulier.
``{{ code }}`` De code om de inzending mee op te halen.
================================== ===========================================================================
Expand All @@ -592,41 +593,54 @@ Voorbeeld

.. code:: django
<p>Dit is een verzoek om het formulier "{{ form_name }}" mede te ondertekenen.</p>
<p>Beste lezer,</p>
<p>
Gelieve het formulier te openen met de volgende link:
<a href="{{ form_url }}">{{ form_url }}</a>.
Via de website heeft iemand het formulier "{{ form_name }}"
op {{ submission_date }} ingediend. Deze is nog
niet compleet zonder je handtekening.
</p>
<h2>Medeondertekening nodig</h2>
<p>
Daarna word je doorgestuurd naar een pagina waar je moet inloggen. Nadat je
bent ingelogd, haal je het formulier op met de volgende code:
<br>
<br>
<strong>{{ code }}</strong>
Via deze link kun je inloggen om het formulier te ondertekenen. Daarna nemen wij de
aanvraag in behandeling.
</p>
<p>
<a href="{{ form_url }}">{{ form_url }}</a>
</p>
<p>Je referentienummer is {{ code }}.</p>
.. tab:: Weergave (impressie)

.. code:: html

<p>Dit is een verzoek om het formulier "Voorbeeld" mede te ondertekenen.</p>
<p>Beste lezer,</p>

<p>
Gelieve het formulier te openen met de volgende link:
<a href="https://example.com/voorbeeld-formulier">https://example.com/voorbeeld-formulier</a>.
Via de website heeft iemand het formulier "Voorbeeld" op 5 december 2024 ingediend.
Deze is nog niet compleet zonder je handtekening.
</p>

<h2>Medeondertekening nodig</h2>

<p>
Via deze link kun je inloggen om het formulier te ondertekenen. Daarna nemen wij de
aanvraag in behandeling.
</p>

<p>
Daarna word je doorgestuurd naar een pagina waar je moet inloggen. Nadat je
bent ingelogd, haal je het formulier op met de volgende code:
<br>
<br>
<strong>OF-123456</strong>
<a href="https://example.com/voorbeeld-formulier">https://example.com/voorbeeld-formulier</a>
</p>

<p>Je referentienummer is OF-12345.</p>


.. _objecten_api_registratie:

Objecten API registratie
Expand Down
13 changes: 4 additions & 9 deletions src/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,6 @@ paths:
- `askStatementOfTruth`
- `submissionsRemovalOptions`
- `confirmationEmailTemplate`
- `sendConfirmationEmail`
- `displayMainWebsiteLink`
- `includeConfirmationPageContentInPdf`
- `translations`
Expand Down Expand Up @@ -1412,7 +1411,6 @@ paths:
- `askStatementOfTruth`
- `submissionsRemovalOptions`
- `confirmationEmailTemplate`
- `sendConfirmationEmail`
- `displayMainWebsiteLink`
- `includeConfirmationPageContentInPdf`
- `translations`
Expand Down Expand Up @@ -1928,7 +1926,6 @@ paths:
- `askStatementOfTruth`
- `submissionsRemovalOptions`
- `confirmationEmailTemplate`
- `sendConfirmationEmail`
- `displayMainWebsiteLink`
- `includeConfirmationPageContentInPdf`
- `translations`
Expand Down Expand Up @@ -2006,7 +2003,6 @@ paths:
- `askStatementOfTruth`
- `submissionsRemovalOptions`
- `confirmationEmailTemplate`
- `sendConfirmationEmail`
- `displayMainWebsiteLink`
- `includeConfirmationPageContentInPdf`
- `translations`
Expand Down Expand Up @@ -2088,7 +2084,6 @@ paths:
- `askStatementOfTruth`
- `submissionsRemovalOptions`
- `confirmationEmailTemplate`
- `sendConfirmationEmail`
- `displayMainWebsiteLink`
- `includeConfirmationPageContentInPdf`
- `translations`
Expand Down Expand Up @@ -7512,7 +7507,7 @@ components:
Note that this schema is used for both non-admin users filling out forms and
admin users designing forms. The fields that are only relevant for admin users are:
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `sendConfirmationEmail`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
properties:
uuid:
type: string
Expand Down Expand Up @@ -8019,7 +8014,7 @@ components:
Note that this schema is used for both non-admin users filling out forms and
admin users designing forms. The fields that are only relevant for admin users are:
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `sendConfirmationEmail`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
properties:
name:
type: string
Expand Down Expand Up @@ -8190,7 +8185,7 @@ components:
Note that this schema is used for both non-admin users filling out forms and
admin users designing forms. The fields that are only relevant for admin users are:
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `sendConfirmationEmail`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
properties:
name:
type: string
Expand Down Expand Up @@ -9124,7 +9119,7 @@ components:
Note that this schema is used for both non-admin users filling out forms and
admin users designing forms. The fields that are only relevant for admin users are:
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `sendConfirmationEmail`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
`internalName`, `registrationBackends`, `authenticationBackendOptions`, `paymentBackend`, `paymentBackendOptions`, `priceVariableKey`, `product`, `category`, `theme`, `activateOn`, `deactivateOn`, `isDeleted`, `submissionConfirmationTemplate`, `askPrivacyConsent`, `askStatementOfTruth`, `submissionsRemovalOptions`, `confirmationEmailTemplate`, `displayMainWebsiteLink`, `includeConfirmationPageContentInPdf`, `translations`, `brpPersonenRequestOptions`.
properties:
uuid:
type: string
Expand Down
Loading

0 comments on commit 2084974

Please sign in to comment.