fnp
/
prawokultury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ac2bf5f
)
fix condition for "remind me" button
author
Jan Szejko
<janek37@gmail.com>
Thu, 5 Apr 2018 08:43:45 +0000
(10:43 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 5 Apr 2018 08:43:45 +0000
(10:43 +0200)
prawokultury/context_processors.py
patch
|
blob
|
history
diff --git
a/prawokultury/context_processors.py
b/prawokultury/context_processors.py
index
b944366
..
60ff46c
100644
(file)
--- a/
prawokultury/context_processors.py
+++ b/
prawokultury/context_processors.py
@@
-12,7
+12,7
@@
def registration_url(request):
if speaker_form.started and not speaker_form.closed:
url = reverse("contact_form", args=["register-speaker"])
label = _('Registration')
if speaker_form.started and not speaker_form.closed:
url = reverse("contact_form", args=["register-speaker"])
label = _('Registration')
- elif
speaker_form.closed and not registration_form.started
:
+ elif
not speaker_form.started or (speaker_form.closed and not registration_form.started)
:
url = reverse("contact_form", args=["remind-me"])
label = _('Remind me')
else:
url = reverse("contact_form", args=["remind-me"])
label = _('Remind me')
else: