From 51b5e6f9f2f71a7501f2a0252da7f47346cb6e9d Mon Sep 17 00:00:00 2001 From: fuzzylogic2000 Date: Wed, 7 Aug 2019 11:21:24 +0200 Subject: [PATCH] templates/module tiles: show join now-button only for running modules --- .../meinberlin_projects/includes/project_module_tile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html b/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html index f71db707d6..a55ba52c26 100644 --- a/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html +++ b/meinberlin/apps/projects/templates/meinberlin_projects/includes/project_module_tile.html @@ -33,7 +33,7 @@

{{ module.name }}

{% endif %}
- {% if not module.module_has_finished %} + {% if module.module_running_time_left %}
{% trans 'Join now' %}