From 0d83eb6ebb6768e4102e9054a7910b9229b88586 Mon Sep 17 00:00:00 2001 From: Awais-cb Date: Tue, 24 Jul 2018 18:49:05 +0500 Subject: [PATCH] Modified:Subscribe unsubscribe button made real time on watch video --- upload/styles/cb_28/layout/watch_video.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/upload/styles/cb_28/layout/watch_video.html b/upload/styles/cb_28/layout/watch_video.html index 331dc189..6e6f382a 100644 --- a/upload/styles/cb_28/layout/watch_video.html +++ b/upload/styles/cb_28/layout/watch_video.html @@ -47,9 +47,16 @@
{if $video.userid != userid()} - - {lang code='subscribe'} - + {if $userquery->is_subscribed($video.userid,userid())} + + + {else} + + {/if} {/if} {if $Cbucket->configs.video_download==1 && $cbvid->downloadable($vdo)}