From 670bafd12a673fed46a7b60f85342b6530bebe1f Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Wed, 29 Mar 2023 12:11:07 +0200 Subject: [PATCH] misc: bump djhtml version (#75442) --- .pre-commit-config.yaml | 2 +- hobo/debug/templates/hobo/debug_home.html | 2 +- hobo/environment/templates/environment/home.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0079ef..996a5ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: isort args: ['--profile', 'black', '--line-length', '110'] - repo: https://github.com/rtts/djhtml - rev: 'v1.5.2' + rev: '3.0.6' hooks: - id: djhtml args: ['--tabwidth', '2'] diff --git a/hobo/debug/templates/hobo/debug_home.html b/hobo/debug/templates/hobo/debug_home.html index 0bff523..519837a 100644 --- a/hobo/debug/templates/hobo/debug_home.html +++ b/hobo/debug/templates/hobo/debug_home.html @@ -19,7 +19,7 @@
+ name="toggle-current-ip">{% if current_ip_debug %}{% trans "Remove current IP" %}{% else %}{% trans "Add current IP" %}{% endif %} - {{ view.current_ip }}
diff --git a/hobo/environment/templates/environment/home.html b/hobo/environment/templates/environment/home.html index e807058..7fd883d 100644 --- a/hobo/environment/templates/environment/home.html +++ b/hobo/environment/templates/environment/home.html @@ -23,9 +23,9 @@ {% for service in installed_services %}
+ data-slug="{{ service.slug }}" + class="bo-block service-block {{ service.Extra.service_id }}-block" + {% if service.wants_frequent_checks %}data-wants-check="true"{% endif %}>

{{ service.title }} [{{service.slug}}, {{service.base_url}}]

{% if not service.is_operational %}