{% load wagtailcore_tags i18n %}
{% if 'L' in page.view_choices %}{{ listLink|default:_("List View") }} {% if page.view_choices|length > 1 %} | {% endif %}{% endif %} {% if 'W' in page.view_choices %}{{ weeklyLink|default:_("Weekly View") }} {% if 'M' in page.view_choices %} | {% endif %}{% endif %} {% if 'M' in page.view_choices %}{{ monthlyLink|default:_("Monthly View") }} {% endif %}