{% extends "todo.html" %} {% block content %}
{% if profile %}

~{{ profile.get("name") }}

{% else %}

Welcome back, {{ current_user.username }}! This is the {{cfg("sr.ht", "site-name")}} ticket tracking service. Documentation for its use is available here.

{% endif %} {% if notice %}
{{ notice }}
{% endif %} {% if profile %} {% if profile.get("location") %}

{{profile["location"]}}

{% endif %} {% if profile.get("url") %}

{{profile["url"]}}

{% endif %} {% if profile.get("bio") %}

{{profile["bio"] | md}}

{% endif %} {% endif %} {% if profile and (current_user and user.id == current_user.id) %}
This is your public profile page.
{% elif not user or (current_user and user.id == current_user.id) %} Create new tracker {{icon("caret-right")}} {% endif %} {% if len(trackers) > 0 %}

{{ tracker_list_msg }}

{% for tracker in trackers %}

{{ tracker.owner }}/{{ tracker.name }}

Last active {{ tracker.updated | date }} {% endfor %}
{% if more_trackers %} View more {{icon("caret-right")}} {% endif %} {% endif %}

{% include 'events.html' with context %}
{% endblock %}