Changes recent exports table

I thought both dates seemed less necessary (happy to be told otherwise)
and the download link should be more explicit
This commit is contained in:
Mouse Reeve 2023-11-06 08:41:36 -08:00
parent 716e64de68
commit 85d1760b97

View file

@ -38,12 +38,9 @@
<table class="table is-striped is-fullwidth">
<tr>
<th>
{% trans "Date Created" %}
{% trans "Date" %}
</th>
<th>
{% trans "Last Updated" %}
</th>
<th>
<th colspan="2">
{% trans "Status" %}
</th>
</tr>
@ -56,13 +53,6 @@
{% endif %}
{% for job in jobs %}
<tr>
<td>
{% if job.complete and not job.status == "stopped" and not job.status == "failed" %}
<p><a download="" href="/preferences/user-export/{{ job.task_id }}">{{ job.created_date }}</a></p>
{% else %}
<p>{{ job.created_date }}</p>
{% endif %}
</td>
<td>{{ job.updated_date }}</td>
<td>
<span
@ -85,6 +75,18 @@
{% trans "Active" %}
{% endif %}
</span>
{% if job.complete and not job.status == "stopped" and not job.status == "failed" %}
</td>
<td>
<p>
<a download="" href="/preferences/user-export/{{ job.task_id }}">
<span class="icon icon-download" aria-hidden="true"></span>
<span class="is-hidden-mobile">
{% trans "Download your export" %}
</span>
</a>
</p>
{% endif %}
</td>
</tr>
{% endfor %}