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 30, 2024
1 parent 362c7a3 commit 3b28f82
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,8 @@ 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.save-a-copy-of-your-application=Save a copy of your application for your records:
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
7 changes: 7 additions & 0 deletions src/main/resources/static/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,13 @@ input[type="number"] {
flex-shrink: 0;
}

.success-confirmation-box {
display: flex;
align-items: flex-start;
gap: 10px;
}


.toolbar {
align-items: flex-start;
padding-top: 12px;
Expand Down
9 changes: 9 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,15 @@ <h2 class="h2" th:text="#{confirmation.next-steps}"></h2>
</th:block>

<div th:replace="~{fragments/feedback :: feedback}"></div>
<div class="success-confirmation-box zero-flex-shrink spacing-below-60">
<th:block th:replace="~{fragments/icons :: smallDownloadDocuments}"></th:block>
<div>
<p th:text="#{confirmation.save-a-copy-of-your-application}"></p>
<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 3b28f82

Please sign in to comment.