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/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" %}