From 4a80ab8bca7396e8f796bc6b2a1650eb5f85d469 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Mon, 25 Nov 2024 14:12:44 -0500 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