Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
module: Fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
Magdalena Noffke committed Aug 7, 2019
1 parent b1f61eb commit 10542e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% project_tile_image project as project_image %}
{% project_tile_image_copyright project as project_image_copyright %}
<li class="participation-tile__vertical">
<a href="{% url 'module-detail' module.slug %}">
<a href="{% url 'module-detail' project.organisation.slug module.slug %}">
<div class="participation-tile__type">
<div class="participation-tile__content">
<h3 class="participation-tile__title">{{ module.name }}</h3>
Expand Down Expand Up @@ -34,7 +34,7 @@ <h3 class="participation-tile__title">{{ module.name }}</h3>
{% endif %}
<div class="participation-tile__spacer"></div>
<div class="participation-tile__btn">
<a class="btn btn--full btn--small" href="{% url 'module-detail' module.slug %}">{% trans 'Join now' %}</a>
<a class="btn btn--full btn--small" href="{% url 'module-detail' project.organisation.slug module.slug %}">{% trans 'Join now' %}</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 10542e9

Please sign in to comment.