empty title no :
This commit is contained in:
parent
07f16c947f
commit
ee2be2f6dd
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def format_week(week):
|
|||
a = a.strftime(fmt)
|
||||
b = b.strftime(fmt)
|
||||
extra = models.Week.objects.filter(monday=week).first()
|
||||
if extra:
|
||||
if extra and extra.title:
|
||||
extra = ': ' + extra.title
|
||||
else:
|
||||
extra = ''
|
||||
|
|
Loading…
Reference in a new issue