Petits ajustements sur la liste des importations récentes
This commit is contained in:
parent
bb272a658e
commit
670961e6d0
@ -75,7 +75,7 @@
|
||||
{% if obj.nb_imports > 0 %}
|
||||
{% with imp=obj.last_import %}
|
||||
<span{% if imp.status == "failed" %} data-tooltip="{{ imp.error_message }}"{% endif %}>
|
||||
{% if imp.status == "running" %}<em>{{ imp.status }}</em>{% else %}{{ imp.status }}{% endif %}
|
||||
{% if imp.status == "running" %}<em>{{ imp.status }}</em>{% else %}{{ imp.status }} {% if imp.status == "success" %} ({{ imp.nb_initial }}){% endif %}{% endif %}
|
||||
</span>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
|
@ -1164,7 +1164,7 @@ def recurrent_imports(request, status=None):
|
||||
events_selected = events.filter(last_run_status=status)
|
||||
events_selected = events_selected.order_by("-pk")
|
||||
|
||||
paginator = Paginator(events_selected, 10)
|
||||
paginator = Paginator(events_selected, 50)
|
||||
page = request.GET.get("page")
|
||||
|
||||
nb_failed = (events
|
||||
|
Loading…
x
Reference in New Issue
Block a user