Skip to content
Snippets Groups Projects
Unverified Commit 33811106 authored by Todd Dembrey's avatar Todd Dembrey Committed by GitHub
Browse files

Merge pull request #147 from OpenTechFund/bugfix/177-share-meta-to-admin-dashboard

Correctly inherit the meta for the child tables
parents 709fcdaf 0087d8a0
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
<h5 class="heading heading--no-margin"><a class="link link--underlined" href="{% url 'funds:submission' submission.id %}">{{ submission.title }}</a></h5>
<h6 class="heading heading--no-margin heading--submission-meta"><span>Submitted:</span> {{ submission.submit_time.date }} by {{ submission.user.get_full_name }}</h6>
</div>
{% include "funds/includes/status_bar.html" with workflow=submission.workflow status=submission.status class="status-bar--small" %}
{% include "funds/includes/status_bar.html" with workflow=submission.workflow status=submission.phase class="status-bar--small" %}
</div>
{% empty %}
No active submissions
......
......@@ -41,8 +41,8 @@ class AdminSubmissionsTable(SubmissionsTable):
"""Adds admin only columns to the submissions table"""
lead = tables.Column(accessor='round.specific.lead', verbose_name='Lead')
class Meta:
sequence = ('title', 'status_name', 'stage', 'page', 'round', 'lead', 'submit_time')
class Meta(SubmissionsTable.Meta):
sequence = ('title', 'status_name', 'stage', 'page', 'round', 'lead', 'submit_time') # type: ignore
def get_used_rounds(request):
......
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