Author: Adam <git@apiote.tk>
show runtime in watchlist
templates/watchlist.html | 3 +++
diff --git a/templates/watchlist.html b/templates/watchlist.html index 0c38b27135cedc5e7b19eae3f51037ec3c940a26..471e85370968d0d021ead69ac3cf6dc14eb87516 100644 --- a/templates/watchlist.html +++ b/templates/watchlist.html @@ -74,6 +74,9 @@ {{end}} <p class="sans font-_875"> {{.GetGenres $.Data.Genres}} </p> + {{if gt .Runtime 0}} + <p class="sans font-_875 text-grey">{{.Runtime}} min</p> + {{end}} <p class="font-_875 text-grey"> {{if .HasPrevious}}<span class="material-icon" title="Watch previous part first"></span>{{end}} <!-- todo based on -->