Update the jobs and activity page to show the user that created the job.

This commit is contained in:
Rebecca Law
2016-05-11 11:57:31 +01:00
parent 521fdc26ab
commit 46d5065297
9 changed files with 87 additions and 121 deletions

View File

@@ -16,5 +16,5 @@
Started {{ uploaded_at|format_datetime }}
</p>
{% endif %}
Created by {{ created_by }}
</div>

View File

@@ -24,7 +24,7 @@
caption="Recent activity",
caption_visible=False,
empty_message='You havent sent any notifications yet',
field_headings=['Job', 'Time', right_aligned_field_heading('Status')]
field_headings=['Job', 'Time', right_aligned_field_heading('Status'), 'Created By']
) %}
{% call field() %}
<a href="{{ url_for('.view_job', service_id=current_service.id, job_id=item.id) }}">{{ item.original_file_name }}</a>
@@ -35,6 +35,9 @@
{% call field(align='right') %}
{{ item.status }}
{% endcall %}
{% call field() %}
{{ item.created_by.name }}
{% endcall %}
{% endcall %}