mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 17:43:11 -04:00
Add a redirect for the letter specification
This way we have a URL we can give people that always points to the latest version of the spec. And it makes our code more Flask-idiomatic to be using `url_for` to be generating a URL, rather than passing around a constant.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
<h3 class="heading heading-small" id="upload-letters">Upload your own letters</h3>
|
||||
<p>You can create reusable letter templates in Notify, or upload and send your own letters with the Notify API.</p>
|
||||
<p>Use the <a href="{{ letter_specification_url }}">letter specification document</a> to help you set up your letter, save it as a PDF, then upload it to Notify.<p>
|
||||
<p>Use the <a href="{{ url_for('.letter_spec') }}">letter specification document</a> to help you set up your letter, save it as a PDF, then upload it to Notify.<p>
|
||||
<p>Read our <a href="{{ url_for('.documentation') }}">API documentation</a> for more information.</p>
|
||||
|
||||
<h2 class="heading heading-medium">Pricing</h2>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
)}}
|
||||
</p>
|
||||
<p>You can upload a single letter as a PDF.</p>
|
||||
<p>Your file must meet our <a href="{{ letter_specification_url }}">letter specification</a>.</p>
|
||||
<p>Your file must meet our <a href="{{ url_for('.letter_spec') }}">letter specification</a>.</p>
|
||||
<p>To help you set up your letter you can download a <a href="https://docs.notifications.service.gov.uk/documentation/images/notify-pdf-letter-word-template-v1.0.docx">Word document template</a>.</p>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user