Skip to content

Commit

Permalink
Add xmlns 185838597 (#212)
Browse files Browse the repository at this point in the history
* Add xmlns:th attribute to all non-fragment html views
* Remove typo whitespace
* Add xmlns:th attribute to any html tag in live templates

---------

Co-authored-by: Alex Gonzalez <[email protected]>
  • Loading branch information
cy-by and spokenbird authored Sep 14, 2023
1 parent 1f53d16 commit 93ed551
Show file tree
Hide file tree
Showing 38 changed files with 50 additions and 50 deletions.
16 changes: 8 additions & 8 deletions intellij-settings/StarterAppLiveTemplate.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main/resources/templates/docUpload/success.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title='Success')}"></head>
<body>
<div class="page-wrapper">
Expand Down Expand Up @@ -31,4 +31,4 @@
</div>
<th:block th:replace="~{fragments/footer :: footer}"/>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{upload-documents.title})}"></head>
<body
th:with="dzFormName='docUpload'">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/faq.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{faq.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{index.title})}"></head>
<body class="template--static-page">
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/privacy.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{privacy.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/addingDocuments.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{adding-documents.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{annual-household-income.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/contactInfo.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">

<script>
function selectCheckboxFieldIfTextFieldIsNotEmpty(textFieldId, checkboxFieldId) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{doc-submit-confirmation.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/documentOffboarding.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{document-offboarding.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{how-this-works.how-this-works})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/eligibility.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title='Eligibility')}"></head>
<body>
<div class="page-wrapper">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{exceeds-income-threshold.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/ubi/gettingToKnowYou.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{getting-to-know-you.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down Expand Up @@ -33,4 +33,4 @@
</div>
<th:block th:replace="~{fragments/footer :: footer}"/>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/homeAddress.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{homeAddress.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{household-delete-confirmation.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/householdList.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{household-list.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/housemateInfo.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{housemate-info.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/howThisWorks.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{how-this-works.how-this-works})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/howToAddDocuments.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{adding-documents-how-to.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/ubi/income.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{income.title})}"></head>
<body>
<div class="page-wrapper">
Expand All @@ -21,4 +21,4 @@
</div>
<th:block th:replace="~{fragments/footer :: footer}"/>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/incomeAmounts.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{income-amounts.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/incomeComplete.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{income-complete.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{income-delete-confirmation.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/languagePreference.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{language-preference.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/legalStuff.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{legal-stuff.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/nextSteps.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{next-steps.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/personalInfo.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{personal-info.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/ubi/phoneNumberNudge.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{phone-number-nudge.title})}"></head>
<body>
<div class="page-wrapper">
Expand All @@ -26,4 +26,4 @@
</div>
<th:block th:replace="~{fragments/footer :: footer}"/>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/pickHomeAddress.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{address-validation.check-your-address})}"></head>
<body>
<div class="page-wrapper">
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/ubi/reviewInfo.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{review-info.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down Expand Up @@ -57,4 +57,4 @@
</div>
<th:block th:replace="~{fragments/footer :: footer}"/>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/signName.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{sign-name.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/submitting.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{submitting.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/success.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{success.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/testPdfDownload.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{generate-pdf-page.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{adding-documents-upload-doc.title})}"></head>
<body>
<div class="page-wrapper">
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/ubi/verifyHomeAddress.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html th:lang="${#locale.language}">
<html th:lang="${#locale.language}" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{fragments/head :: head(title=#{address-validation.check-your-address})}"></head>
<body>
<div class="page-wrapper">
Expand Down

0 comments on commit 93ed551

Please sign in to comment.