{{define "title"}}{{.Title}}{{end}} {{define "content"}}

Booking pages

A link you hand to somebody outside the team, so they can book a slot when you are free.

New page
{{if .Data.Saved}} {{template "callout" dict "Tone" "positive" "Body" "Saved."}} {{end}} {{if not .Data.Handle}} {{/* Said before the list, because every link below starts with it. */}} {{template "callout" dict "Tone" "warning" "Title" "Choose a handle first" "Body" "Choose a handle in Settings before publishing — it is the first part of every booking link."}} {{end}} {{if not .Data.Pages}} {{template "empty-state" dict "Title" "No booking pages yet" "Body" "Make one, describe when you are free in plain words, and publish it when you are ready to share the link."}} {{end}} {{range .Data.Pages}}

{{.Title}}

{{if .Published}}{{template "badge" dict "Tone" "positive" "Label" "Published"}}{{else}}{{template "badge" dict "Label" "Not published"}}{{end}}
{{with .Description}}

{{.}}

{{end}}

{{duration .DurationMin}} a slot. {{if .BufferMin}}{{duration .BufferMin}} between slots.{{end}} {{if .NoticeMin}}At least {{duration .NoticeMin}} ahead.{{end}} Up to {{.HorizonDays}} days out.

{{if .Lines}} {{else}}

No windows yet, so this page offers nothing.

{{end}} {{with .PublicURL}}

{{.}}

{{end}}
Edit
{{if .Published}} {{else}} {{/* The sentence is above the button, in full, every time. A published page is a new disclosure — anyone can ask when this person is free — and the button must not be pressed without having read that (booking spec §7.4). */}}

Anyone with this link can see when you are free — not what you are doing, but when — including time blocked by team calendars you can see.

{{end}}
{{end}} {{end}}