Skip to content

Commit ed37cb9

Browse files
Update .pre-commit-config.yaml (#785)
2 parents 35bb856 + b531f34 commit ed37cb9

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ repos:
1717
- id: check-toml
1818
- id: detect-private-key
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.15.20
20+
rev: v0.15.21
2121
hooks:
2222
- id: ruff
2323
args: [--config, pyproject.toml]
2424
- id: ruff-format
2525
args: [--config, pyproject.toml]
2626
- repo: https://github.com/djlint/djLint
27-
rev: v1.40.3
27+
rev: v1.40.6
2828
hooks:
2929
- id: djlint-reformat-jinja
3030
- repo: local

amt/site/templates/macros/editable_macros.html.j2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@
169169
{% if editable_object.implementation_type.type == WebFormFieldType.TEXTAREA %}
170170
<!-- TODO: classes utrecht-textarea seem to be missing? wrong NL design version? -->
171171
<textarea id="field-{{ sanitize_html_id(field_name) }}"
172-
name="{{ field_name }}"
173-
placeholder=""
174-
class="utrecht-textbox utrecht-textarea utrecht-textarea--html-textarea"
175-
{# TODO: find out if and when value is not of type 'weboption' and value.value would break #}
176-
dir="auto">{{ editable_object.value.display_value }}</textarea>
172+
name="{{ field_name }}"
173+
placeholder=""
174+
class="utrecht-textbox utrecht-textarea utrecht-textarea--html-textarea"
175+
{# TODO: find out if and when value is not of type 'weboption' and value.value would break #}
176+
dir="auto">{{ editable_object.value.display_value }}</textarea>
177177
{% elif editable_object.implementation_type.type == WebFormFieldType.SELECT %}
178178
<div class="rvo-select-wrapper"
179179
style="max-inline-size: clamp(20rem, 40%, 50rem)">

amt/site/templates/organizations/parts/overview_results.html.j2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
<div>{% trans %}Organisation Type{% endtrans %}</div>
5050
<div class="rvo-select-wrapper">
5151
<select id="add-filter-organization-type"
52-
{# TODO: we would rather want to trigger a form submit event, not only this element as this excludes the search result #}
53-
hx-trigger="change"
54-
hx-get="/organizations/?skip=0"
55-
name="add-filter-organization-type"
56-
class="utrecht-select utrecht-select--html-select">
52+
{# TODO: we would rather want to trigger a form submit event, not only this element as this excludes the search result #}
53+
hx-trigger="change"
54+
hx-get="/organizations/?skip=0"
55+
name="add-filter-organization-type"
56+
class="utrecht-select utrecht-select--html-select">
5757
{% for organization_filter in organization_filters %}
5858
<option {% if "organization_filter" in filters and organization_filter.value == filters["organization_filters"].value %}selected="selected"{% endif %}
5959
value="{{ organization_filter.value }}">

amt/site/templates/parts/algorithm_search.html.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
class="utrecht-select utrecht-select--html-select">
6969
<option value=""></option>
7070
{% for risk_group in risk_groups %}
71-
<option {% if "risk-group" in filters and risk_group.value==filters["risk-group"].value %}selected="selected" {% endif
72-
%} value="{{ risk_group.value }}">{{ risk_group.display_value }}</option>
71+
<option {% if "risk-group" in filters and risk_group.value==filters["risk-group"].value %}selected="selected"{% endif %}
72+
value="{{ risk_group.value }}">{{ risk_group.display_value }}</option>
7373
{% endfor %}
7474
</select>
7575
</div>

amt/site/templates/parts/tasks_search.html.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
class="utrecht-select utrecht-select--html-select">
5555
<option value=""></option>
5656
{% for assignee in assignees %}
57-
<option {% if "assignee" in filters and assignee.value==filters["assignee"].value %}selected="selected" {% endif
58-
%} value="{{ assignee.value }}">{{ assignee.display_value }}</option>
57+
<option {% if "assignee" in filters and assignee.value==filters["assignee"].value %}selected="selected"{% endif %}
58+
value="{{ assignee.value }}">{{ assignee.display_value }}</option>
5959
{% endfor %}
6060
</select>
6161
</div>

0 commit comments

Comments
 (0)