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

{{.Title}}

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

{{.Site}} / Ch {{.LastChapter}} {{if and (eq .Status "reading") .HasNewChapter}} / Ch {{.LatestChapter}} out {{end}} {{if eq .Status "archived"}} / archived {{else if eq .Status "finished"}} / finished {{end}}

{{/* Restore is a reversal, so it fires straight away; every move *out* of the list (archive, finish, remove) goes through a confirm row. */}} {{if eq .Status "reading"}} {{else}} {{end}} {{if ne .Status "finished"}} {{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}} {{if ne .Status "finished"}} {{end}}
{{end}}