{% extends "base.html" %} {% from '_archive.html' import show_archived_toggle %} {% block title %}Timeline{% if scope_type %} — {{ entity_label }}{% endif %}{% endblock %} {% block content %} {%- set view = view_mode or 'notes' -%} {# Build the base URL for the current scope so the view toggle preserves it. #} {%- if is_global -%} {%- set view_base = '/timeline' -%} {%- if scope_type and scope_id -%}{%- set view_base = view_base ~ '?scope_type=' ~ scope_type ~ '&scope_id=' ~ scope_id -%}{%- endif -%} {%- else -%} {%- set view_base = '/timeline/' ~ entity_type ~ '/' ~ entity_id -%} {%- endif -%} {%- set view_join = '&' if '?' in view_base else '?' -%} {% if is_global %}
No mutations recorded{% if scope_type %} for this {{ scope_type }}{% endif %}.
{% endif %} {% else %} {% if comments %}No comments{% if scope_type %} matching this filter{% endif %} yet.
{% endif %} {% endif %} {% endblock %}