This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / book / templates / request.html.j2
927 B 24 lines
1{% extends "base.html.j2" %} 2{% block title %}{{ b.title }}{% endblock %} 3{% block body %} 4<h1>{{ b.title }}</h1> 5<p>{{ when }}</p> 6 7{% if b.status == "pending" %} 8<p>Request sent. You get a mail once I confirm or decline it. Keep this page's address to cancel.</p> 9{% elif b.status == "approved" %} 10<p class="ok">Confirmed. The invitation is in your mail; <a href="/r/{{ b.guest_token }}/invite.ics">download it again</a>.</p> 11{% elif b.status == "declined" %} 12<p>Declined. <a href="/">Pick another time</a>.</p> 13{% elif b.status == "cancelled" %} 14<p>Cancelled.</p> 15{% elif b.status == "expired" %} 16<p>This request was not answered in time. <a href="/">Pick another time</a>.</p> 17{% endif %} 18 19{% if b.status in ("pending", "approved") and future %} 20<form method="post" action="/r/{{ b.guest_token }}/cancel"> 21 <button>cancel {{ "request" if b.status == "pending" else "meeting" }}</button> 22</form> 23{% endif %} 24{% endblock %}