From 9797605084b4fb7788f8ed8b25d1f67c1e6925e2 Mon Sep 17 00:00:00 2001 From: Brody Wilton <brodywilton@hotmail.com> Date: Wed, 1 May 2024 02:03:00 +0100 Subject: [PATCH] change user table --- myproject/myapp/templates/user_page.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/myproject/myapp/templates/user_page.html b/myproject/myapp/templates/user_page.html index 1ac639d..94fff4c 100644 --- a/myproject/myapp/templates/user_page.html +++ b/myproject/myapp/templates/user_page.html @@ -220,15 +220,12 @@ <td class="px-6 py-4">{{entry.action}}</td> <td class="px-6 py-4"> {% if entry.file %} - <a - href="#" - class="font-medium text-blue-600 dark:text-blue-500 hover:underline" - >{{entry.file}}</a - > - {% if entry.description %} - <button type="button" class="ml-4 px-2 py-1 bg-blue-500 text-white rounded-md hover:bg-blue-600" onclick="showModal('{{entry.description|join:'\n'}}')"> + <span>Filename: {{entry.file}}</span> + {% elif entry.description %} + <!-- <button type="button" class="ml-4 px-2 py-1 bg-blue-500 text-white rounded-md hover:bg-blue-600" onclick="showModal('{{entry.description|join:'\n'}}')"> Show Results - </button> + </button> --> + <span>{{ entry.description }}</span> {% endif %} </td> </tr> -- GitLab