From 1127978e101744fa67ea1deeeff6819a7df4fbc4 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 3 Sep 2022 00:25:39 -0400 Subject: [PATCH] Apply new djlint version --- .../paperwork/email/admin_certifications.dj.html | 4 +--- .../paperwork/email/member_certifications.dj.html | 4 +--- .../templates/paperwork/member_certifications.dj.html | 4 +--- rentals/templates/rentals/lockers.dj.html | 6 +----- tasks/templates/tasks/index.dj.html | 8 ++------ tasks/templates/tasks/taskDetail.dj.html | 8 ++++---- templates/auth/login.dj.html | 8 ++------ templates/auth/logout.dj.html | 4 +--- 8 files changed, 13 insertions(+), 33 deletions(-) diff --git a/paperwork/templates/paperwork/email/admin_certifications.dj.html b/paperwork/templates/paperwork/email/admin_certifications.dj.html index 07a994c..250431f 100644 --- a/paperwork/templates/paperwork/email/admin_certifications.dj.html +++ b/paperwork/templates/paperwork/email/admin_certifications.dj.html @@ -1,6 +1,4 @@ -

- The following Claremont MakerSpace Member Certifications have been issued: -

+

The following Claremont MakerSpace Member Certifications have been issued:

diff --git a/paperwork/templates/paperwork/email/member_certifications.dj.html b/paperwork/templates/paperwork/email/member_certifications.dj.html index f0bc76f..67a8603 100644 --- a/paperwork/templates/paperwork/email/member_certifications.dj.html +++ b/paperwork/templates/paperwork/email/member_certifications.dj.html @@ -1,9 +1,7 @@

Dear {{ member.first_name }}:

-

- You have been issued the following Claremont MakerSpace Member Certifications: -

+

You have been issued the following Claremont MakerSpace Member Certifications:

Certification
diff --git a/paperwork/templates/paperwork/member_certifications.dj.html b/paperwork/templates/paperwork/member_certifications.dj.html index ddf2a65..cb4d297 100644 --- a/paperwork/templates/paperwork/member_certifications.dj.html +++ b/paperwork/templates/paperwork/member_certifications.dj.html @@ -1,9 +1,7 @@ {% extends "base.dj.html" %} {% block content %} -

- You have been issued the following Claremont MakerSpace Member Certifications: -

+

You have been issued the following Claremont MakerSpace Member Certifications:

Certification
diff --git a/rentals/templates/rentals/lockers.dj.html b/rentals/templates/rentals/lockers.dj.html index b332edf..758bcac 100644 --- a/rentals/templates/rentals/lockers.dj.html +++ b/rentals/templates/rentals/lockers.dj.html @@ -103,11 +103,7 @@ {% endif %} {{ field.errors }} - {% if field.help_text %} -

- {{ field.help_text|safe }} -

- {% endif %} + {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %} {% endfor %} diff --git a/tasks/templates/tasks/index.dj.html b/tasks/templates/tasks/index.dj.html index 2afa9d6..e7bf983 100644 --- a/tasks/templates/tasks/index.dj.html +++ b/tasks/templates/tasks/index.dj.html @@ -6,9 +6,7 @@ {% for tool in tools %} {% include "./components/tool_li.dj.html" with tool=tool %} {% empty %} -

- No tools are available. -

+

No tools are available.

{% endfor %}

Tasks

@@ -16,9 +14,7 @@ {% for task in tasks %} {% include "./components/task_li.dj.html" with task=task %} {% empty %} -

- No tasks are available. -

+

No tasks are available.

{% endfor %} {% endblock %} diff --git a/tasks/templates/tasks/taskDetail.dj.html b/tasks/templates/tasks/taskDetail.dj.html index 2dd5219..091795e 100644 --- a/tasks/templates/tasks/taskDetail.dj.html +++ b/tasks/templates/tasks/taskDetail.dj.html @@ -58,9 +58,7 @@ -

- Next scheduled time: {{ task.next_recurrence|date|default:"never" }} -

+

Next scheduled time: {{ task.next_recurrence|date|default:"never" }}

{% if task.is_overdue %}
Task is overdue!
{% endif %}
@@ -122,7 +120,9 @@
- + {% endfor %} diff --git a/templates/auth/login.dj.html b/templates/auth/login.dj.html index 1f2194c..d24cbea 100644 --- a/templates/auth/login.dj.html +++ b/templates/auth/login.dj.html @@ -5,9 +5,7 @@ {% block title %}Login{% endblock %} {% block content %} {% if form.errors %} -

- Your username and password didn't match. Please try again. -

+

Your username and password didn't match. Please try again.

{% endif %} {% if next %} {% if user.is_authenticated %} @@ -16,9 +14,7 @@ please login with an account that has access.

{% else %} -

- Please login to see this page. -

+

Please login to see this page.

{% endif %} {% endif %} -

- Logged out! -

+

Logged out!

Click here to login again. {% endblock %}
{{ event.date }} {{ event.user }}{{ event.notes_html|safe }} + {{ event.notes_html|safe }} +