Skip to content

Commit

Permalink
Add a quick-and-dirty PDF download link
Browse files Browse the repository at this point in the history
  • Loading branch information
vrajmohan committed Jan 29, 2024
1 parent 8d7fd23 commit 768b115
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ confirmation.looking_for_job_html=<b>You are required to create a HiRE account.<
confirmation.p2_html=Within the next 30 days, <b>expect to get a letter in the mail</b> about your application. The letter will tell you if you are eligible or not.
confirmation.p3=Call LAHelpU at <a href="tel:(888) 524-3578">(888) 524-3578</a> if you have any questions about your online application.
confirmation-feedback.how-easy=How easy or difficult was it to complete the online application form using this website? (Optional)
confirmation.download-your-application=Download a PDF of your application

# WIC/ECE - these are placeholders for translations, feel free to change the key names
looking-for-assistance=Looking for assistance with other programs?
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/templates/mdBenefitsFlow/confirmation.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ <h2 class="h2" th:text="#{confirmation.next-steps}"></h2>
</th:block>

<div th:replace="~{fragments/feedback :: feedback}"></div>
<div>
<th:block th:replace="~{fragments/icons :: smallDownloadDocuments}"></th:block>
<div>
<a th:href="'/download/' + ${flow} + '/' + ${submission.getId()}"
th:text="#{confirmation.download-your-application}"></a>
</div>
</div>


</th:block>
</th:block>
Expand Down

0 comments on commit 768b115

Please sign in to comment.