From 4ceeefcf276167ac3daf43aa1316a49d7bfa08e0 Mon Sep 17 00:00:00 2001 From: tobias <thinkdifferent055@gmail.com> Date: Sun, 25 Oct 2020 17:31:59 +0100 Subject: [PATCH] Add missing thead entries for action row, fix colspan for table placeholders, fix data-field names in admin section --- client/templates/admin/milestones/overview.html | 11 ++++++----- client/templates/admin/roadmaps/overview.html | 3 ++- client/templates/admin/subtasks/overview.html | 5 +++-- client/templates/admin/tasks/overview.html | 5 +++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/client/templates/admin/milestones/overview.html b/client/templates/admin/milestones/overview.html index b143349..47098df 100644 --- a/client/templates/admin/milestones/overview.html +++ b/client/templates/admin/milestones/overview.html @@ -22,11 +22,12 @@ <thead> <tr> <th data-field="id">Version Code</th> - <th data-field="project-name">Version Name</th> + <th data-field="project-version">Version Name</th> <th data-field="project-name">Title</th> - <th data-field="project-name">Due Date</th> - <th data-field="project-name">Completion Date</th> - <th data-field="project-name">Status</th> + <th data-field="project-due_date">Due Date</th> + <th data-field="project-completion_date">Completion Date</th> + <th data-field="project-status">Status</th> + <th data-field="actions"></th> </tr> </thead> @@ -55,7 +56,7 @@ {% endfor %} {% else %} <tr> - <td colspan="2" class="center-align">No milestones available</td> + <td colspan="7" class="center-align">No milestones available</td> </tr> {% endif %} </tbody> diff --git a/client/templates/admin/roadmaps/overview.html b/client/templates/admin/roadmaps/overview.html index ce97270..ff4c3c9 100644 --- a/client/templates/admin/roadmaps/overview.html +++ b/client/templates/admin/roadmaps/overview.html @@ -23,6 +23,7 @@ <tr> <th data-field="id">ID</th> <th data-field="project-name">Project Name</th> + <th data-field="actions"></th> </tr> </thead> @@ -43,7 +44,7 @@ {% endfor %} {% else %} <tr> - <td colspan="2" class="center-align">No roadmaps available</td> + <td colspan="3" class="center-align">No roadmaps available</td> </tr> {% endif %} </tbody> diff --git a/client/templates/admin/subtasks/overview.html b/client/templates/admin/subtasks/overview.html index a52bd9b..4799824 100644 --- a/client/templates/admin/subtasks/overview.html +++ b/client/templates/admin/subtasks/overview.html @@ -23,7 +23,8 @@ <tr> <th data-field="id">ID</th> <th data-field="project-name">Title</th> - <th data-field="project-name">Status</th> + <th data-field="project-status">Status</th> + <th data-field="actions"></th> </tr> </thead> @@ -48,7 +49,7 @@ {% endfor %} {% else %} <tr> - <td colspan="2" class="center-align">No sub tasks available</td> + <td colspan="4" class="center-align">No sub tasks available</td> </tr> {% endif %} </tbody> diff --git a/client/templates/admin/tasks/overview.html b/client/templates/admin/tasks/overview.html index b6372c5..28e6248 100644 --- a/client/templates/admin/tasks/overview.html +++ b/client/templates/admin/tasks/overview.html @@ -23,7 +23,8 @@ <tr> <th data-field="id">ID</th> <th data-field="project-name">Title</th> - <th data-field="project-name">Status</th> + <th data-field="project-status">Status</th> + <th data-field="actions"></th> </tr> </thead> @@ -49,7 +50,7 @@ {% endfor %} {% else %} <tr> - <td colspan="2" class="center-align">No tasks available</td> + <td colspan="4" class="center-align">No tasks available</td> </tr> {% endif %} </tbody> -- GitLab