diff --git a/website/events/templates/events/ical_help.html b/website/events/templates/events/ical_help.html index cc2f5ba5b..968f03ea4 100644 --- a/website/events/templates/events/ical_help.html +++ b/website/events/templates/events/ical_help.html @@ -16,7 +16,7 @@

How to subscribe to an iCal feed

  • In your calendar application find the button to add an (iCal) calendar via its URL. For example, in Google Calendar, this is "Other calendars" and then "Via URL". - In the macOS Calendar the option is under the "File" menu and is called "New calendar subscription". + In the macOS Calendar the option is under the "File" menu and called "New calendar subscription".
  • Paste the iCal feed URL into the provided field.
  • Save the new calendar.
  • @@ -28,7 +28,7 @@

    iCal feed URLs

    {% if user.is_authenticated %}
  • Personal feed: {{ personal_feed }}
  • {% else %} -
  • Personal feed: Log in to access your personal iCal feed
  • +
  • Personal feed: Log in to access your personal iCal feed
  • {% endif %} {% endblock %} diff --git a/website/events/templates/events/index.html b/website/events/templates/events/index.html index 089bc44f4..1958891a0 100644 --- a/website/events/templates/events/index.html +++ b/website/events/templates/events/index.html @@ -23,7 +23,7 @@ data-bs-placement="top" title="Configure iCal feed" > - iCal feed + Synchronize calendar {% endblock %} {% block section_tags %}id="events-index"{% endblock %} diff --git a/website/events/templatetags/personal_feed.py b/website/events/templatetags/personal_feed.py deleted file mode 100644 index 262faa2a3..000000000 --- a/website/events/templatetags/personal_feed.py +++ /dev/null @@ -1,12 +0,0 @@ -from django.template import Library - -from events.models import FeedToken - -register = Library() - - -@register.simple_tag(takes_context=True) -def personal_feed(context): - """Return a personal token for the ical feed.""" - member = context["request"].user - return FeedToken.objects.get_or_create(member=member)[0].token diff --git a/website/members/templates/members/email/welcome.html b/website/members/templates/members/email/welcome.html index 98d6fd609..ce9e4834f 100644 --- a/website/members/templates/members/email/welcome.html +++ b/website/members/templates/members/email/welcome.html @@ -17,6 +17,6 @@

    And finally, there are some other optional next steps for you:

    {% endblock %} diff --git a/website/members/templates/members/email/welcome.txt b/website/members/templates/members/email/welcome.txt index ec114fd8b..2d88299cf 100644 --- a/website/members/templates/members/email/welcome.txt +++ b/website/members/templates/members/email/welcome.txt @@ -16,7 +16,7 @@ in the association. You can join the group via the following link: {{ base_url } And finally, there are some other optional next steps for you: - Subscribe to a personalized calendar feed to see events in your calendar app: {{ base_url }}{% url "events:ical-help" %} -- Upload a reference picture for face detection, to you get an overview of all the photos you're on: +- Upload a reference picture for face detection, so you get an overview of all the photos you're on: {{ base_url }}{% url 'facedetection:reference-faces' %} With kind regards,