Skip to content

events: Add link for external ICS subscription #43

Merged
merged 1 commit into from
Nov 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-25 14:36+0100\n"
"POT-Creation-Date: 2019-11-25 15:23+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -1562,8 +1562,8 @@ msgid "All events"
msgstr "Alle Veranstaltungen"

#: mpicms/templates/events/event_index.html:11
msgid "Download ICS"
msgstr "ICS herunterladen"
msgid "Subscribe"
msgstr "Abbonieren"

#: mpicms/templates/events/event_page.html:23
msgid "No events found"
Expand Down
5 changes: 2 additions & 3 deletions mpicms/templates/events/event_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ <h2 class="title is-2">{{ page.title }}</h2>

<div id="calendar"></div>
<br>
<a href="{% url 'ics' %}" class="button cal-button">{% trans 'Download ICS' %}</a>

<a href="https://it.molgen.mpg.de/cgi-bin/ics/subscription?cal=molgen&subscribe=1" class="button cal-button">{% trans 'Subscribe' %}</a>

</div>

Expand All @@ -35,4 +34,4 @@ <h2 class="title is-2">{{ page.title }}</h2>

</script>

{% endblock %}
{% endblock %}