misc: bump djhtml version (#75442)

This commit is contained in:
Valentin Deniaud 2023-03-29 12:11:07 +02:00
parent 4c419c0695
commit 670bafd12a
3 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ repos:
- id: isort - id: isort
args: ['--profile', 'black', '--line-length', '110'] args: ['--profile', 'black', '--line-length', '110']
- repo: https://github.com/rtts/djhtml - repo: https://github.com/rtts/djhtml
rev: 'v1.5.2' rev: '3.0.6'
hooks: hooks:
- id: djhtml - id: djhtml
args: ['--tabwidth', '2'] args: ['--tabwidth', '2']

View File

@ -19,7 +19,7 @@
<div class="buttons"> <div class="buttons">
<button class="submit-button">{% trans "Save" %}</button> <button class="submit-button">{% trans "Save" %}</button>
<button class="submit-button" <button class="submit-button"
name="toggle-current-ip">{% if current_ip_debug %}{% trans "Remove current IP" %}{% else %}{% trans "Add current IP" %}{% endif %} - {{ view.current_ip }}</button> name="toggle-current-ip">{% if current_ip_debug %}{% trans "Remove current IP" %}{% else %}{% trans "Add current IP" %}{% endif %} - {{ view.current_ip }}</button>
</div> </div>
</form> </form>

View File

@ -23,9 +23,9 @@
{% for service in installed_services %} {% for service in installed_services %}
<div data-service-id="{{ service.Extra.service_id }}" <div data-service-id="{{ service.Extra.service_id }}"
data-slug="{{ service.slug }}" data-slug="{{ service.slug }}"
class="bo-block service-block {{ service.Extra.service_id }}-block" class="bo-block service-block {{ service.Extra.service_id }}-block"
{% if service.wants_frequent_checks %}data-wants-check="true"{% endif %}> {% if service.wants_frequent_checks %}data-wants-check="true"{% endif %}>
<h3>{{ service.title }} <span class="slug">[{{service.slug}}, <h3>{{ service.title }} <span class="slug">[{{service.slug}},
<a href="{{service.base_url}}">{{service.base_url}}</a>]</span></h3> <a href="{{service.base_url}}">{{service.base_url}}</a>]</span></h3>
{% if not service.is_operational %} {% if not service.is_operational %}