Skip to content

Commit

Permalink
Merge pull request #2451 from liqd/mn-2019-08-some-fixes
Browse files Browse the repository at this point in the history
apps/projects: Display cta button only if participation possible
  • Loading branch information
fuzzylogic2000 authored Aug 6, 2019
2 parents 9bbb467 + 7fcddfd commit b30a623
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ <h3 class="participation-tile__title">{{ module.name }}</h3>
</div>
{% endif %}
<div class="participation-tile__spacer"></div>
{% if not module.module_has_finished %}
<div class="participation-tile__btn">
<a class="btn btn--full btn--small" href="{% url 'module-detail' module.slug %}">{% trans 'Join now' %}</a>
</div>
{% endif %}
</div>
</div>
</a>
Expand Down

0 comments on commit b30a623

Please sign in to comment.