Merge pull request #8 from andibraeu/tag-handling
show link to ics file
This commit is contained in:
commit
ee3af3cd6d
1 changed files with 5 additions and 2 deletions
|
@ -41,8 +41,11 @@
|
||||||
class="ui icon edit green link" data-content="Ort bearbeiten"
|
class="ui icon edit green link" data-content="Ort bearbeiten"
|
||||||
title="Ort bearbeiten"></i> </a> {% endif %}
|
title="Ort bearbeiten"></i> </a> {% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% if tag|default(false) %}
|
{% if tags|length == 1 %}
|
||||||
<a href="{{ path('tag_show',{'slug' : tag.slug }) }}.ics"><i class="icon calendar"></i>Link zur
|
<a href="{{ path('tag_show',{'slug' : tags[0].slug }) }}.ics"><i class="icon calendar"></i>Link zur
|
||||||
|
Kalenderdatei</a>
|
||||||
|
{% elseif(tags|length > 1) %}
|
||||||
|
<a href="/tags/{% for tag in tags %}{{ tag.slug }}{% if not loop.last %}{% if operator == 'or' %}%7C{% elseif(operator == 'and') %}%26{% endif %}{% endif %}{% endfor %}.ics"><i class="icon calendar"></i>Link zur
|
||||||
Kalenderdatei</a>
|
Kalenderdatei</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if location|default(false) %}
|
{% if location|default(false) %}
|
||||||
|
|
Reference in a new issue