{{define "compose_widget"}}
{{/* Shown by the X button only when a draft actually exists (DRAFT_ID_KEY set) — a blank/untouched compose just closes immediately, nothing to ask about. Lives here (not per-host-page) since compose_widget is the one thing common to every page that can show this. */}} {{/* z-index bumped above #composePopup's own 1080 (see the popup div's inline style above) — without it, Bootstrap's default modal z-index (1055) sits BELOW the compose popup, so this prompt renders visually underneath/behind it instead of over it. */}} {{end}} {{/* webmail_account_menu is the "sign out" navbar button, everywhere it appears (every standalone webmail page — see render.go's pagesWithComposeWidget, which this piggybacks on since it's already parsed on exactly those pages) — now a dropdown so there's somewhere for "sign in to admin dashboard" to live alongside it, rather than a second always-visible button competing for navbar space. */}} {{define "webmail_account_menu"}}