diff --git a/calmerge/templates/listing.html b/calmerge/templates/listing.html index 54aaacf..062eddc 100644 --- a/calmerge/templates/listing.html +++ b/calmerge/templates/listing.html @@ -31,17 +31,20 @@

Calmerge

{% with calendar_url = url('calendar', slug=calendar.slug) %} {{ calendar_url }} + {{ calendar.name|default("-", true) }} + {{ calendar.description|default("-", true) }} + {{ calendar.offset_days|sort|join(", ") }} + {{ calendar.ttl_hours }} hours + {% if config.listing.include_credentials and calendar.auth %} + {{ calendar.auth.username }}:{{ calendar.auth.password }} + {% else %} + {{ "Yes" if calendar.auth else "No" }} + {% endif %} + + {{ calendar_url.scheme|default("http", true) }} + webcal + {% endwith %} - {{ calendar.name|default("-", true) }} - {{ calendar.description|default("-", true) }} - {{ calendar.offset_days|sort|join(", ") }} - {{ calendar.ttl_hours }} hours - {% if config.listing.include_credentials and calendar.auth %} - {{ calendar.auth.username }}:{{ calendar.auth.password }} - {% else %} - {{ "Yes" if calendar.auth else "No" }} - {% endif %} - Add to calendar {% endfor %}