Skip to content

Commit

Permalink
Fixed registration link
Browse files Browse the repository at this point in the history
  • Loading branch information
danielengelhardt committed Jul 30, 2023
1 parent de63421 commit fffb2ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DSTBundesliga/apps/dstffbl/templates/dstffbl/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ <h2 class="ui header">
{% if registration_status == "not_registered" %}
{% if registration_open %}
Du bist noch nicht zur Saison {{ season }} angemeldet.
Jetzt anmelden
<a href="{{ register_url }}">Jetzt anmelden</a>
{% else %}
Die Anmeldung zur Saison {{ season }} ist noch nicht gestartet.
{% endif %}
{# {% else %}
{% else %}
{% if registration_status == "pending" %}
<h2 class="ui header">
<div class="content">
Expand Down
3 changes: 2 additions & 1 deletion DSTBundesliga/apps/dstffbl/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ def profile(request):
'region_choices': REGIONS,
"form": form,
"message": message,
"resend_url": reverse("dstffbl:resend_invite")
"resend_url": reverse("dstffbl:resend_invite"),
"register_url": reverse("dstffbl:anmeldung")
})


Expand Down

0 comments on commit fffb2ea

Please sign in to comment.