From 2aa4fd7e8e2b93ae7277085b8a1dfedcd65e2861 Mon Sep 17 00:00:00 2001 From: andibraeu Date: Sun, 14 Jun 2015 12:22:42 +0200 Subject: [PATCH] show link to ics file --- .../CalciferBundle/Resources/views/Event/index.html.twig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig index 91f6cb7..0eb4f61 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig +++ b/src/Hackspace/Bundle/CalciferBundle/Resources/views/Event/index.html.twig @@ -41,8 +41,11 @@ class="ui icon edit green link" data-content="Ort bearbeiten" title="Ort bearbeiten"> {% endif %} - {% if tag|default(false) %} - Link zur + {% if tags|length == 1 %} + Link zur + Kalenderdatei + {% elseif(tags|length > 1) %} + Link zur Kalenderdatei {% endif %} {% if location|default(false) %}