Skip to content

Commit

Permalink
templates/module tiles: show join now-button only for running modules
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzylogic2000 committed Aug 7, 2019
1 parent 80fb14b commit 51b5e6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h3 class="participation-tile__title">{{ module.name }}</h3>
</div>
{% endif %}
<div class="participation-tile__spacer"></div>
{% if not module.module_has_finished %}
{% if module.module_running_time_left %}
<div class="participation-tile__btn">
<a class="btn btn--full btn--small" href="{% url 'module-detail' module.slug %}">{% trans 'Join now' %}</a>
</div>
Expand Down

0 comments on commit 51b5e6f

Please sign in to comment.