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 %}