From 768a502b582fa0e84b5d3659492368f90f45b2a9 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 2 Mar 2020 20:33:24 +0100 Subject: [PATCH] Add some cosmetics --- apps/tbde/views.py | 2 -- templates/base.html | 22 ++++++++++++++++++++++ templates/tombola.html | 7 +++++++ 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/apps/tbde/views.py b/apps/tbde/views.py index a37e3c8..85a628b 100644 --- a/apps/tbde/views.py +++ b/apps/tbde/views.py @@ -11,8 +11,6 @@ class TombolaView(TemplateView): def get_context_data(self, **kwargs): context = super().get_context_data() - context['title'] = "Tombola Saper[list]popette" - next_rewards = Reward.objects.filter(rewarded_by__isnull=True).order_by('order').reverse() old_reward = Reward.objects.filter(rewarded_by__isnull=False).order_by('order').reverse() context['old_rewards'] = old_reward.all() diff --git a/templates/base.html b/templates/base.html index 3986a1f..c79796f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -64,6 +64,28 @@ SPDX-License-Identifier: GPL-3.0-or-later + + {% block extrajavascript %} {% endblock extrajavascript %} diff --git a/templates/tombola.html b/templates/tombola.html index 31aea4b..8cffb8e 100644 --- a/templates/tombola.html +++ b/templates/tombola.html @@ -6,6 +6,13 @@ {% endblock %} +{% block contenttitle %} +

+ + Tombola Saper[list]popette ️♠️️♣ +

+{% endblock %} + {% block content %}