Skip to content
Snippets Groups Projects
Commit 27f5da88 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add the status into the table

parent 7781152b
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment