Skip to content

Commit

Permalink
Fixes error in handle display of import statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse-reeve authored Oct 17, 2024
1 parent 04a6d2d commit cd7f465
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bookwyrm/templates/preferences/export-user.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,13 @@ <h2 class="title">{% trans "Recent Exports" %}</h2>
{% elif export.job.status == "pending" %}
class="tag is-warning"
{% elif export.job.complete %}
class="tag"
{% else %}
class="tag is-success"
{% else %}
class="tag"
{% endif %}
>
{% if export.job.status %}
{{ export.job.status }}
{{ export.job.status_display }}
{{ export.job.get_status_display }}
{% elif export.job.complete %}
{% trans "Complete" %}
{% else %}
Expand Down

0 comments on commit cd7f465

Please sign in to comment.