Skip to content

Commit

Permalink
Revert "Replace join text with spectate if user is finished contest; f…
Browse files Browse the repository at this point in the history
…ixes DMOJ#544" (DMOJ#1473)

This reverts commit 324bb18.
  • Loading branch information
Ninjaclasher authored and outloudvi committed Oct 3, 2020
1 parent d7a2a0c commit 3a44b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/contest/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
{% macro contest_join(contest, request) %}
{% if not request.in_contest %}
<td>
{% if request.profile in contest.organizers.all() or contest.is_in_contest(request.user) %}
{% if request.profile in contest.organizers.all() %}
<form action="{{ url('contest_join', contest.key) }}" method="post">
{% csrf_token %}
<input type="submit" class="ui unselectable button full participate-button"
Expand Down

0 comments on commit 3a44b38

Please sign in to comment.