From 223260c45680eb44c6baa4b38c39b982101ff2b7 Mon Sep 17 00:00:00 2001 From: phillybroadbent Date: Fri, 25 Aug 2023 10:20:43 +0100 Subject: [PATCH] Moved ID number to first column of all tables --- lowfat/templates/lowfat/blogs.html | 16 ++++++++-------- lowfat/templates/lowfat/expenses.html | 16 ++++++++-------- lowfat/templates/lowfat/funds.html | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lowfat/templates/lowfat/blogs.html b/lowfat/templates/lowfat/blogs.html index 61018142..736d047a 100644 --- a/lowfat/templates/lowfat/blogs.html +++ b/lowfat/templates/lowfat/blogs.html @@ -37,6 +37,11 @@

{% if user.is_staff or claimant and user == claimant.user or fund.claimant and user == fund.claimant.user %} + {% if user.is_staff or claimant and user == claimant.user %} + + ID + + {% endif %} Submitted date @@ -52,11 +57,6 @@

Funding Request {% endif %} - {% if user.is_staff or claimant and user == claimant.user %} - - ID - - {% endif %} {% if user.is_staff or claimant and user == claimant.user or fund.claimant and user == fund.claimant.user %} Status @@ -84,6 +84,9 @@

{% endif %} {% endif %} > + {% if user.is_staff or claimant and user == claimant.user %} + {{blog.fund.id}} + {% endif %} {% if user.is_staff or claimant and user == claimant.user or fund.claimant and user == fund.claimant.user %} {{ blog.added }} @@ -115,9 +118,6 @@

{% endif %} {% endif %} - {% if user.is_staff or claimant and user == claimant.user %} - {{blog.fund.id}} - {% endif %} {% if user.is_staff or claimant and user == claimant.user or fund.claimant and user == fund.claimant.user %} {{ blog.get_status_display }} diff --git a/lowfat/templates/lowfat/expenses.html b/lowfat/templates/lowfat/expenses.html index 5a21977c..66ef1bb6 100644 --- a/lowfat/templates/lowfat/expenses.html +++ b/lowfat/templates/lowfat/expenses.html @@ -36,6 +36,11 @@

+ {% if user.is_staff or claimant and user == claimant.user %} + + {% endif %} {% if user.is_staff or claimant and user == claimant.user %} {% endif %} - {% if user.is_staff or claimant and user == claimant.user %} - - {% endif %} @@ -84,6 +84,9 @@

{% endif %} > {% if user.is_staff or claimant and user == claimant.user %} +

+ {% endif %} + {% if user.is_staff or claimant and user == claimant.user %} @@ -111,9 +114,6 @@

{{ expense.fund.title }} {% endif %} - {% if user.is_staff or claimant and user == claimant.user %} -

- {% endif %} {% if user.is_staff or claimant and user == claimant.user %} {% endif %} - {% if user.is_staff or claimant and user == claimant.user %} {% endif %} + {% if user.is_staff %} + {% endif %} + {% if user.is_staff or claimant and user == claimant.user %} @@ -113,9 +116,6 @@ ) {% endif %} - {% if user.is_staff or claimant and user == claimant.user %} - - {% endif %} {% if user.is_staff %}
+ ID + Submitted date @@ -52,11 +57,6 @@

Funding Request

- ID - Status {{expense.fund.id}} {{ expense.added }} {{expense.fund.id}} {{ expense.get_status_display }} {% if fund.status == 'F' %} diff --git a/lowfat/templates/lowfat/funds.html b/lowfat/templates/lowfat/funds.html index ebf9e890..7f7947b6 100644 --- a/lowfat/templates/lowfat/funds.html +++ b/lowfat/templates/lowfat/funds.html @@ -22,17 +22,17 @@
- Submitted date + ID - Title - - ID + Submitted date + Title + Fellow @@ -75,6 +75,9 @@ {% endif %} > {% if user.is_staff or claimant and user == claimant.user %} + {{fund.id}} {{ fund.added }} {{fund.id}} {{ fund.claimant.fullname }}