From 387358b07298cc64c0c262062086c23200ea9d10 Mon Sep 17 00:00:00 2001 From: Tiberiu Chibici Date: Tue, 1 Jan 2019 16:23:51 +0200 Subject: [PATCH] Added Watch On YouTube button --- .../templates/YtManagerApp/video.html | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/app/YtManagerApp/templates/YtManagerApp/video.html b/app/YtManagerApp/templates/YtManagerApp/video.html index 2b1fe43..823e002 100644 --- a/app/YtManagerApp/templates/YtManagerApp/video.html +++ b/app/YtManagerApp/templates/YtManagerApp/video.html @@ -42,24 +42,38 @@
Manage video
+

+ + Watch on YouTube + +

+ {% if object.watched %} - - Mark not watched - +

+ + Mark not watched + +

{% else %} - - Mark watched - +

+ + Mark watched + +

{% endif %} {% if object.downloaded_path %} +

Delete downloaded +

{% else %} +

Download +

{% endif %}