From 27f5da88a338765701ff17ef3bdc2f8a6f878bb4 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Wed, 14 Feb 2018 12:16:07 +0000 Subject: [PATCH] Add the status into the table --- opentech/apply/dashboard/tables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opentech/apply/dashboard/tables.py b/opentech/apply/dashboard/tables.py index 2ef02e44f..eff2266cf 100644 --- a/opentech/apply/dashboard/tables.py +++ b/opentech/apply/dashboard/tables.py @@ -4,11 +4,12 @@ from opentech.apply.funds.models import ApplicationSubmission class DashboardTable(tables.Table): submit_time = tables.DateColumn(verbose_name="Submitted") + status_name = tables.Column(verbose_name="Status") page = tables.Column(verbose_name="Fund") class Meta: model = ApplicationSubmission - fields = ('title', 'page', 'round', 'submit_time', 'user') + fields = ('title', 'status_name', 'page', 'round', 'submit_time', 'user') template = "dashboard/tables/table.html" def render_user(self, value): -- GitLab