mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-23 07:28:08 +00:00
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:
parent
716e64de68
commit
85d1760b97
1 changed files with 14 additions and 12 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue