From 5c9bc9cabebbcffcf14edbbf3f2916fec53570a7 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Thu, 23 Jul 2026 10:57:29 -0400 Subject: [PATCH 1/2] Spellcheck - fix #124 --- efile_app/efile/templates/efile/choose_jurisdiction.html | 2 +- efile_app/efile/templates/efile/expert_form.html | 2 +- efile_app/efile/templates/efile/login.html | 2 +- efile_app/efile/templates/efile/options.html | 2 +- efile_app/efile/templates/efile/password_reset.html | 4 ++-- efile_app/efile/templates/efile/review.html | 2 +- efile_app/efile/templates/efile/upload.html | 4 ++-- efile_app/efile/templates/efile/view_statuses.html | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/efile_app/efile/templates/efile/choose_jurisdiction.html b/efile_app/efile/templates/efile/choose_jurisdiction.html index 52607a2..f4eed2c 100644 --- a/efile_app/efile/templates/efile/choose_jurisdiction.html +++ b/efile_app/efile/templates/efile/choose_jurisdiction.html @@ -45,7 +45,7 @@

{{ the_title }}

{% static value.jurisdiction.display_name %} + alt="{{ value.jurisdiction.display_name }}">

{{ value.jurisdiction.display_name }}

diff --git a/efile_app/efile/templates/efile/expert_form.html b/efile_app/efile/templates/efile/expert_form.html index fe8c385..b532727 100644 --- a/efile_app/efile/templates/efile/expert_form.html +++ b/efile_app/efile/templates/efile/expert_form.html @@ -117,7 +117,7 @@

{% translate "Case type" %}

{% translate "This is your party type." %}

@@ -138,7 +138,7 @@

{% translate "Format:" %}{% translate "All documents must be in PDF format with text that can be read clearly." %}

- Size Limit:{% translate "Each document must be under 10MB." %} + {% translate "Size Limit" %}:{% translate "Each document must be under 10MB." %}
diff --git a/efile_app/efile/templates/efile/view_statuses.html b/efile_app/efile/templates/efile/view_statuses.html index 1b5a3dc..c8e9ef5 100644 --- a/efile_app/efile/templates/efile/view_statuses.html +++ b/efile_app/efile/templates/efile/view_statuses.html @@ -69,7 +69,7 @@

{% translate "Filing Statuses" %}

status_icon = ''; status_text = gettext("Under Review"); } else if (filing['filing_status'] === 'rejected' || filing['filing_status'] === 'returned') { - status_icon = ''; + status_icon = ''; status_text = gettext("Rejected"); } if (filing['case_title']) { @@ -120,7 +120,7 @@

{% translate "Continue a draft filing" %}

From a0cb9fea301ead2c2ccc89e02a5d247951b58d14 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Thu, 23 Jul 2026 11:04:42 -0400 Subject: [PATCH 2/2] Fix T002 --- .pre-commit-config.yaml | 14 ++++++++++++++ .../efile/templates/efile/password_reset.html | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 41a24c5..bc53e31 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,20 @@ repos: (cd efile_app && uv run djlint --reformat "${files[@]}") - -- + - id: djlint-lint + name: djlint (lint) + entry: bash -c + language: system + files: ^efile_app/.*\.html$ + args: + - | + files=() + for file in "$@"; do + files+=("${file#efile_app/}") + done + (cd efile_app && uv run djlint "${files[@]}") + - -- + - id: css-beautify name: css-beautify (format) entry: bash -c diff --git a/efile_app/efile/templates/efile/password_reset.html b/efile_app/efile/templates/efile/password_reset.html index ebd6af4..4f2716e 100644 --- a/efile_app/efile/templates/efile/password_reset.html +++ b/efile_app/efile/templates/efile/password_reset.html @@ -41,7 +41,7 @@ font-weight: 700; font-size: 1.8rem">{% translate "Reset your eFile password" %}

- {% translate 'For security, a link will be sent to your email from "efilingmail.tylertech.cloud". Visit that link to reset your password.' %} + {% translate "For security, a link will be sent to your email from "efilingmail.tylertech.cloud". Visit that link to reset your password." %}

{% csrf_token %}