Download this file
| 1 | {{define "title"}}{{.Title}}{{end}} |
| 2 | {{define "content"}} |
| 3 | <header rst-page-header> |
| 4 | <div rst-page-header-titles> |
| 5 | <h1>{{.Data.Title}}</h1> |
| 6 | <p rst-page-header-sub>with {{.Data.HostName}} · confirmed</p> |
| 7 | </div> |
| 8 | </header> |
| 9 | |
| 10 | {{with .Data.Description}}<p>{{.}}</p>{{end}} |
| 11 | |
| 12 | {{$items := list |
| 13 | (dict "Label" "When" "Value" .Data.When) |
| 14 | (dict "Label" "With" "Value" (printf "%s, %s" .Data.HostName .Data.HostAddress)) |
| 15 | (dict "Label" "Booked as" "Value" (printf "%s, %s" .Data.Name .Data.Address))}} |
| 16 | {{template "detail-list" dict "Items" $items}} |
| 17 | {{with .Data.HostWhen}}<p cal-elsewhere>That is {{.}} where {{$.Data.HostName}} is.</p>{{end}} |
| 18 | |
| 19 | <div cal-book-manage-actions> |
| 20 | <a rst-btn="primary" href="/book/m/{{.Data.Token}}/calendar.ics">Add to calendar</a> |
| 21 | <a rst-btn href="/book/m/{{.Data.Token}}/reschedule">Reschedule</a> |
| 22 | <form method="post" action="/book/m/{{.Data.Token}}/cancel"> |
| 23 | <button rst-btn="danger" type="submit">Cancel this booking</button> |
| 24 | </form> |
| 25 | </div> |
| 26 | <p cal-book-caveat>The calendar file is a download of this booking as it is now. If it moves, download it again.</p> |
| 27 | {{end}} |
| 28 | |