templates/coloradio/event_pure1.html: fix ical link

* full_title concats series_name and title with hyphen.
* escape=hyphen prevents breaking filenames by whitespace.
This commit is contained in:
Milan
2023-03-19 21:12:24 +01:00
parent 147a1dfd32
commit 34d620e89c

View File

@@ -63,7 +63,7 @@ Content-type:text/html; charset=utf-8;
<!-- ICAL EVENT -->
<div class="ical_event">
<a href="<TMPL_VAR .controllers.domain><TMPL_VAR .controllers.ical>/<TMPL_VAR event_id>/<TMPL_IF series_name><TMPL_VAR series_name escape=url>-</TMPL_IF><TMPL_VAR title escape=url>.ics" title="Termin merken"><!--<img width="16" height="16" alt="ICalendar" src="<TMPL_VAR static_files_url>image/ical.png" />-->im Kalender speichern</a>
<a href="<TMPL_VAR .controllers.domain><TMPL_VAR .controllers.ical>/<TMPL_VAR event_id>/<TMPL_VAR full_title escape=hyphen>.ics" title="Termin merken"><!--<img width="16" height="16" alt="ICalendar" src="<TMPL_VAR static_files_url>image/ical.png" />-->im Kalender speichern</a>
</div>
</div>
</TMPL_IF>