diff --git a/templates/videos.html b/templates/videos.html index 67b8e4a..c52f356 100644 --- a/templates/videos.html +++ b/templates/videos.html @@ -35,14 +35,20 @@ {{range .videos}} - {{.Title}} + + {{if eq .Status "completed"}} + {{.Title}} + {{else}} + {{.Title}} + {{end}} + {{.URL}} {{.Length}} {{.Status}} {{if eq .Status "completed"}} - Download Video ({{.VideoSize}}) | - Download Audio ({{.AudioSize}}) + Download Video ({{.VideoSize}}) | + Download Audio ({{.AudioSize}}) {{else if eq .Status "failed"}}