From ceb6c5d398ab490d60d53d412d40acb9ef4962b9 Mon Sep 17 00:00:00 2001 From: Dan Clark Date: Sun, 26 Jan 2025 02:41:42 +0000 Subject: [PATCH 1/2] Remove dodgy fixed-widths on table columns --- .../templates/volunteers/task_detailed.html | 14 +++++----- volunteers/templates/volunteers/tasks.html | 26 ++++++++----------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/volunteers/templates/volunteers/task_detailed.html b/volunteers/templates/volunteers/task_detailed.html index ef5f5ef..3d86664 100644 --- a/volunteers/templates/volunteers/task_detailed.html +++ b/volunteers/templates/volunteers/task_detailed.html @@ -10,12 +10,12 @@ {% trans 'Task' %} - - - - + + + + {% if task.location %} - + {% endif %} @@ -40,10 +40,10 @@ {% endif %} - + - +
{% trans 'When' %}{% trans 'Title' %}{% trans 'Attending' %}{% trans 'Talk' %}{% trans 'When' %}{% trans 'Title' %}{% trans 'Attending' %}{% trans 'Talk' %}{% trans 'Location' %}{% trans 'Location' %}
  
{{ task.description|linebreaksbr|urlize }}{{ task.description|linebreaksbr|urlize }}

diff --git a/volunteers/templates/volunteers/tasks.html b/volunteers/templates/volunteers/tasks.html index 10e5b42..95f9a10 100644 --- a/volunteers/templates/volunteers/tasks.html +++ b/volunteers/templates/volunteers/tasks.html @@ -27,11 +27,11 @@ - - - - - + + + + + @@ -82,11 +82,11 @@
{% trans "I'm in" %}!{% trans 'Task' %}{% trans 'When' %}{% trans 'Volunteers' %}{% trans 'Location' %}{% trans "I'm in" %}!{% trans 'Task' %}{% trans 'When' %}{% trans 'Volunteers' %}{% trans 'Location' %}
- - - - - + + + + + @@ -103,11 +103,7 @@ {% endifchanged %} - - - - - + {% for category, category_tasks in categories.items %} {% if category_tasks %} From fe557bf8f021faa22da9f560d1be3f04ef4db084 Mon Sep 17 00:00:00 2001 From: Dan Clark Date: Sun, 26 Jan 2025 03:40:05 +0000 Subject: [PATCH 2/2] Fix dodgy formatting on promo page --- volunteers/templates/static/promo.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/volunteers/templates/static/promo.html b/volunteers/templates/static/promo.html index 9c78cf1..4b28411 100644 --- a/volunteers/templates/static/promo.html +++ b/volunteers/templates/static/promo.html @@ -34,9 +34,7 @@

FOSDEM
Volunteering

  • Chat

    Join the Volunteering chat channel on Matrix: -

    + #fosdem-volunteers on matrix (webchat)

  • {% trans "I'm in" %}!{% trans 'Task' %}{% trans 'When' %}{% trans 'Volunteers' %}{% trans 'Location' %}{% trans "I'm in" %}!{% trans 'Task' %}{% trans 'When' %}{% trans 'Volunteers' %}{% trans 'Location' %}
    {{ day|date:"l" }}    {{ day|date:"l" }}