Merge pull request 'Fix #61' (#68) from master into production
All checks were successful
buildbot/django-dav-events--test Build done.

Reviewed-on: #68
This commit was merged in pull request #68.
This commit is contained in:
2023-05-08 15:37:47 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -443,6 +443,7 @@ class Event(models.Model):
'description': self.description, 'description': self.description,
'mode': self.mode, 'mode': self.mode,
'sport': self.sport, 'sport': self.sport,
'level': self.level,
'first_day': self.first_day, 'first_day': self.first_day,
'last_day': self.last_day, 'last_day': self.last_day,
'normalized_date': self.get_formated_date(format='normalized'), 'normalized_date': self.get_formated_date(format='normalized'),

View File

@@ -1,4 +1,4 @@
{% load i18n %}{{ number }} - {{ title }} {% load i18n %}{{ number }} - {{ title }}{% if level == 'family' %} (für Familien){%endif %}
{{ normalized_short_date }} {{ normalized_short_date }}
{% if alt_normalized_short_date %}({% trans 'Ersatztermin' %}: {{ alt_normalized_short_date }}) {% if alt_normalized_short_date %}({% trans 'Ersatztermin' %}: {{ alt_normalized_short_date }})