Files
rustical/crates/frontend/public/templates/pages/calendar.html
2025-04-05 14:02:30 +02:00

15 lines
392 B
HTML

{% extends "layouts/default.html" %}
{% block imports %}
{% endblock %}
{% block content %}
{% let name = calendar.displayname.to_owned().unwrap_or(calendar.id.to_owned()) %}
<h1>{{ name }}</h1>
{% if let Some(description) = calendar.description %}<p>{{ description }}</p>{% endif%}
<pre>{{ calendar|json }}</pre>
<a href="/frontend/user/{{ calendar.principal }}">Back</a>
{% endblock %}