Author: Adam <git@apiote.tk>
mark cancelled films in watchlist
static/style/style.css | 4 ++++ templates/watchlist.html | 4 +++-
diff --git a/static/style/style.css b/static/style/style.css index e65af95fec01eb3ebd1b3262fe0725e678d343bd..3e9b112fd84a77d600a4208696b21721f6ee4fd8 100644 --- a/static/style/style.css +++ b/static/style/style.css @@ -214,6 +214,10 @@ .text { color: var(--text); } +.text-error { + color: var(--error); +} + .text-unimportant { color: var(--unimportant); } diff --git a/templates/watchlist.html b/templates/watchlist.html index c44db5ee66537d2236814f1ea50c6f32396e2109..2ed4995f012d800c6caf04484a20ce58855cdc7a 100644 --- a/templates/watchlist.html +++ b/templates/watchlist.html @@ -68,7 +68,9 @@ {{end}} </div> <div class="margin-lr-1"> <p class="sans">{{.Title}}</p> - {{if gt .YearStart 1}} + {{if eq .Status "Canceled"}} + <p class="sans font-_875 text-error">Cancelled</p> + {{else if gt .YearStart 1}} <p class="sans font-_875 text-grey">{{.YearStart}}</p> {{end}} <p class="sans font-_875">