mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-12 09:58:50 -04:00
Refactor agreement pages into includes
So we can re-use the same content in multiple places.
This commit is contained in:
35
app/templates/views/agreement/_agreement-choose.html
Normal file
35
app/templates/views/agreement/_agreement-choose.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<p>
|
||||
Before you can go live on GOV.UK Notify, your organisation needs to agree to our data sharing and financial agreement.
|
||||
</p>
|
||||
<h2 class="heading-small">
|
||||
Crown bodies
|
||||
</h2>
|
||||
<p>
|
||||
Download the <a href="{{ url_for('main.public_download_agreement', variant='crown') }}">crown agreement</a>.
|
||||
</p>
|
||||
<h2 class="heading-small">
|
||||
Non-crown bodies
|
||||
</h2>
|
||||
<p>
|
||||
Download the <a href="{{ url_for('main.public_download_agreement', variant='non-crown') }}">non-crown agreement</a>.
|
||||
</p>
|
||||
<div class="panel panel-border-wide">
|
||||
<p>
|
||||
<a href="{{ url_for('main.support') }}">Contact us</a> if you’re
|
||||
not sure whether your organisation is a crown or non-crown body.
|
||||
</p>
|
||||
</div>
|
||||
<h2 class="heading-small">
|
||||
Next steps
|
||||
</h2>
|
||||
<ol class="list list-number">
|
||||
<li>
|
||||
Get the agreement signed by someone who has the authority to do so on behalf of {{ owner or 'your organisation' }}.
|
||||
</li>
|
||||
<li>
|
||||
Return the signed copy to <a href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>.
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
The agreement contains commercially sensitive information, so don’t share it more widely than you need to.
|
||||
</p>
|
||||
8
app/templates/views/agreement/_agreement-signed.html
Normal file
8
app/templates/views/agreement/_agreement-signed.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<p>
|
||||
Your organisation ({{ owner }}) has already accepted the GOV.UK
|
||||
Notify data sharing and financial agreement. You can
|
||||
<a href="{{ url_for('main.download_agreement') }}">download a copy</a>.
|
||||
</p>
|
||||
<p>
|
||||
The agreement contains commercially sensitive information, so don’t share it more widely than you need to.
|
||||
</p>
|
||||
17
app/templates/views/agreement/_agreement.html
Normal file
17
app/templates/views/agreement/_agreement.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<p>
|
||||
Before you can go live on GOV.UK Notify, your organisation needs to agree to our data sharing and financial agreement.
|
||||
</p>
|
||||
<ol class="list list-number">
|
||||
<li>
|
||||
<a href="{{ url_for('main.download_agreement') }}">Download the agreement</a>.
|
||||
</li>
|
||||
<li>
|
||||
Get it signed by someone who has the authority to do so on behalf of {{ owner }}.
|
||||
</li>
|
||||
<li>
|
||||
Return the signed copy to <a href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>.
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
The agreement contains commercially sensitive information, so don’t share it more widely than you need to.
|
||||
</p>
|
||||
@@ -17,41 +17,8 @@
|
||||
GOV.UK Notify data sharing and financial agreement
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
Before you can go live on GOV.UK Notify, your organisation needs to agree to our data sharing and financial agreement.
|
||||
</p>
|
||||
<h2 class="heading-small">
|
||||
Crown bodies
|
||||
</h2>
|
||||
<p>
|
||||
Download the <a href="{{ url_for('main.public_download_agreement', variant='crown') }}">crown agreement</a>.
|
||||
</p>
|
||||
<h2 class="heading-small">
|
||||
Non-crown bodies
|
||||
</h2>
|
||||
<p>
|
||||
Download the <a href="{{ url_for('main.public_download_agreement', variant='non-crown') }}">non-crown agreement</a>.
|
||||
</p>
|
||||
<div class="panel panel-border-wide">
|
||||
<p>
|
||||
<a href="{{ url_for('main.support') }}">Contact us</a> if you’re
|
||||
not sure whether your organisation is a crown or non-crown body.
|
||||
</p>
|
||||
</div>
|
||||
<h2 class="heading-small">
|
||||
Next steps
|
||||
</h2>
|
||||
<ol class="list list-number">
|
||||
<li>
|
||||
Get the agreement signed by someone who has the authority to do so on behalf of {{ owner or 'your organisation' }}.
|
||||
</li>
|
||||
<li>
|
||||
Return the signed copy to <a href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>.
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
The agreement contains commercially sensitive information, so don’t share it more widely than you need to.
|
||||
</p>
|
||||
{% include 'views/agreement/_agreement-choose.html'%}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -17,14 +17,8 @@
|
||||
GOV.UK Notify data sharing and financial agreement
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
Your organisation ({{ owner }}) has already accepted the GOV.UK
|
||||
Notify data sharing and financial agreement. You can
|
||||
<a href="{{ url_for('main.download_agreement') }}">download a copy</a>.
|
||||
</p>
|
||||
<p>
|
||||
The agreement contains commercially sensitive information, so don’t share it more widely than you need to.
|
||||
</p>
|
||||
{% include 'views/agreement/_agreement-signed.html' %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -17,23 +17,7 @@
|
||||
GOV.UK Notify data sharing and financial agreement
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
Before you can go live on GOV.UK Notify, your organisation needs to agree to our data sharing and financial agreement.
|
||||
</p>
|
||||
<ol class="list list-number">
|
||||
<li>
|
||||
<a href="{{ url_for('main.download_agreement') }}">Download the agreement</a>.
|
||||
</li>
|
||||
<li>
|
||||
Get it signed by someone who has the authority to do so on behalf of {{ owner }}.
|
||||
</li>
|
||||
<li>
|
||||
Return the signed copy to <a href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>.
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
The agreement contains commercially sensitive information, so don’t share it more widely than you need to.
|
||||
</p>
|
||||
{% include 'views/agreement/_agreement.html'%}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user