Files
rustical/crates/frontend/public/templates/pages/calendar.html
2024-11-10 13:18:45 +01: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|yaml }}</pre>
<a href="/frontend/user/{{ calendar.principal }}">Back</a>
{% endblock %}