{{define "card"}} {{/* One sheet per series. is-new turns the title crimson over an ember rule; is-dim sinks archived rows into italic grey. */}}

{{.Title}}

{{if .Favorite}} {{end}}

{{.Site}} / {{.DisplayChapter}} {{if and (eq .Status "reading") .HasNewChapter}} / {{.DisplayLatest}} out {{end}} {{if eq .Status "archived"}} / archived {{end}}

{{/* Restore is a reversal, so it fires straight away; every move *out* of the list (archive, remove) goes through a confirm row. */}} {{if eq .Status "reading"}} {{else}} {{end}}
{{/* One confirm row per way a series leaves the list. aria-live announces the step to a screen reader, which otherwise gets no word that the tap opened a second question. */}} {{if eq .Status "reading"}} {{end}} {{/* role=status announces a failed write; without it the tap just looks ignored to a screen reader. */}}
{{end}}