{% extends "nav.html" %} {% block content %} {% if id.is_some() %} Bearbeite Vefügbarkeit für den {{ date.format("%d.%m.%Y") }} {% else %} Neue Vefügbarkeit für den {{ date.format("%d.%m.%Y") }} {% endif %} {% let whole_day_selected = time_selection == AvailabilityTime::WholeDay %} Dauer {% let time_url -%} {% if id.is_some() -%} {% let time_url = "/availabillity/edit/{}?wholeday="|format(id.unwrap()) -%} {% else -%} {% let time_url = "/availabillity/new?date={}&wholeday="|format(date) -%} {% endif -%} ganztägig zeitweise Von - Bis {% let times = time_selection.time_tuple() -%} {% if slot_suggestions.len() > 0 %} noch mögliche Zeiträume: {% for (s, e) in slot_suggestions %} {{ s.format("%R") }} - {{ e.format("%R") }} {% endfor %} {% endif %} Kommentar {{ comment.unwrap_or("") }} {% if id.is_some() %} Speichern {% else %} Erstellen {% endif %} Zurück {% endblock %}
noch mögliche Zeiträume: