Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion efile_app/efile/templates/efile/choose_jurisdiction.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1>{{ the_title }}</h1>
<div class="option-icon">
<img src="{% static value.jurisdiction.svg %}"
style="max-height:150%"
alt="{% static value.jurisdiction.display_name %}">
alt="{{ value.jurisdiction.display_name }}">
</div>
<div class="option-content">
<h3>{{ value.jurisdiction.display_name }}</h3>
Expand Down
2 changes: 1 addition & 1 deletion efile_app/efile/templates/efile/expert_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h2 class="subsection-header">{% translate "Case type" %}</h2>
<div class="row mb-3">
<div class="col-md-6" id="party-type-section">
<label for="party_type" class="form-label">
{% translate "Party Typ" %}<span class="required">*</span>
{% translate "Party Type" %}<span class="required">*</span>
</label>
<small class="form-text text-muted mb-2 d-block">{% translate "This is your party type." %}</small>
<select class="form-select dropdown-field"
Expand Down
2 changes: 1 addition & 1 deletion efile_app/efile/templates/efile/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<form method="post">
{% csrf_token %}
<div class="mb-3">
<label for="{{ login_form.email.id_for_label }}" class="form-label">{% translate "Email addres" %}</label>
<label for="{{ login_form.email.id_for_label }}" class="form-label">{% translate "Email address" %}</label>
{{ login_form.email }}
{% if login_form.email.errors %}
<div class="text-danger mt-1">
Expand Down
2 changes: 1 addition & 1 deletion efile_app/efile/templates/efile/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h2>{% translate "Continue a draft filing" %}</h2>
</div>
<div class="button-group">
<button class="btn btn-primary" tabindex="0" onclick="goToExpertForm('resume')">
{% translate "Resume " %}
{% translate "Resume" %}
</button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions efile_app/efile/templates/efile/password_reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font-weight: 700;
font-size: 1.8rem">{% translate "Reset your eFile password" %}</h1>
<p class="reset-password-text">
{% 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 &quot;efilingmail.tylertech.cloud&quot;. Visit that link to reset your password." %}
</p>
<form method="post">
{% csrf_token %}
Expand All @@ -55,7 +55,7 @@
{% endif %}
</div>
<div class="text-center mb-3">
<button type="submit" name="reset_submit" class="btn btn-password-reset">{% translate "Send Reset Link " %}</button>
<button type="submit" name="reset_submit" class="btn btn-password-reset">{% translate "Send Reset Link" %}</button>
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion efile_app/efile/templates/efile/review.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h2>{% translate "Review your information" %}</h2>
<div class="review-item">
<span class="review-label">{% translate "State:" %}<span class="text-danger">*</span></span>
<div class="d-flex align-items-center w-100">
<span class="review-value" id="userStateText">{% translate "Loading.." %}</span>
<span class="review-value" id="userStateText">{% translate "Loading..." %}</span>
<input type="text"
id="userStateInput"
class="form-control form-control-sm"
Expand Down
4 changes: 2 additions & 2 deletions efile_app/efile/templates/efile/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h2>
<div class="document-section mb-4">
<label class="form-label document-label">
<h2>
<strong>Supporting documents</strong>
<strong>{% translate "Supporting documents" %}</strong>
</h2>
</label>
<p class="text-muted">
Expand All @@ -138,7 +138,7 @@ <h3>
<strong>{% translate "Format:" %}</strong>{% translate "All documents must be in PDF format with text that can be read clearly." %}
</div>
<div class="mb-0">
<strong>Size Limit:</strong>{% translate "Each document must be under 10MB." %}
<strong>{% translate "Size Limit" %}:</strong>{% translate "Each document must be under 10MB." %}
</div>
</div>
<div class="upload-area" id="supportingDocumentsArea">
Expand Down
4 changes: 2 additions & 2 deletions efile_app/efile/templates/efile/view_statuses.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>{% translate "Filing Statuses" %}</h1>
status_icon = '<i class="fas fa-file-pen"></i>';
status_text = gettext("Under Review");
} else if (filing['filing_status'] === 'rejected' || filing['filing_status'] === 'returned') {
status_icon = '<i class="fas fa-file-circle-exclaimation rejected"></i>';
status_icon = '<i class="fas fa-file-circle-exclamation rejected"></i>';
status_text = gettext("Rejected");
}
if (filing['case_title']) {
Expand Down Expand Up @@ -120,7 +120,7 @@ <h2>{% translate "Continue a draft filing" %}</h2>
</div>
<div class="button-group">
<button class="btn btn-primary" tabindex="0" onclick="goToExpertForm('resume')">
{% translate "Resume " %}
{% translate "Resume" %}
</button>
</div>
</div>
Expand Down