From d8101f926960cf4e650e80f8fcd22313741235af Mon Sep 17 00:00:00 2001 From: 08draven Date: Fri, 25 Oct 2024 12:53:32 -0400 Subject: [PATCH] only show delete if this is actually your video --- views/player.ejs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/views/player.ejs b/views/player.ejs index e867c70..b7181db 100644 --- a/views/player.ejs +++ b/views/player.ejs @@ -28,8 +28,10 @@
<%= videoData.desc %>
- - - - <%- include('comments.ejs') -%> - <%- include('footer.ejs') -%> \ No newline at end of file + <%if (username==videoData.username) { %> + + <% } %> + + + <%- include('comments.ejs') -%> + <%- include('footer.ejs') -%> \ No newline at end of file