mirror of
https://github.com/pretix/pretix.git
synced 2026-05-16 17:03:58 +00:00
fix punctuation, show message if no data was transmitted
This commit is contained in:
@@ -29,15 +29,15 @@
|
|||||||
{% if pending.failed_attempts %}
|
{% if pending.failed_attempts %}
|
||||||
<i class="fa fa-warning"></i>
|
<i class="fa fa-warning"></i>
|
||||||
{% blocktrans trimmed with num=pending.failed_attempts max=pending.max_retry_attempts %}
|
{% blocktrans trimmed with num=pending.failed_attempts max=pending.max_retry_attempts %}
|
||||||
Error, retry {{ num }} of {{ max }}.
|
Error. Retry {{ num }} of {{ max }}.
|
||||||
{% endblocktrans %}{% if pending.not_before %},
|
{% endblocktrans %}{% if pending.not_before %}
|
||||||
{% blocktrans trimmed with datetime=pending.not_before|date:"SHORT_DATETIME_FORMAT" %}
|
{% blocktrans trimmed with datetime=pending.not_before|date:"SHORT_DATETIME_FORMAT" %}
|
||||||
Waiting until {{ datetime }}.
|
Waiting until {{ datetime }}
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif pending.not_before %}
|
{% elif pending.not_before %}
|
||||||
{% blocktrans trimmed with datetime=pending.not_before|date:"SHORT_DATETIME_FORMAT" %}
|
{% blocktrans trimmed with datetime=pending.not_before|date:"SHORT_DATETIME_FORMAT" %}
|
||||||
Waiting until {{ datetime }}.
|
Waiting until {{ datetime }}
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<i class="fa fa-hourglass"></i> {% trans "Pending" %}
|
<i class="fa fa-hourglass"></i> {% trans "Pending" %}
|
||||||
@@ -58,6 +58,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<time class="text-muted" datetime="{{ obj.timestamp.isoformat }}">{{ obj.timestamp }}</time>
|
<time class="text-muted" datetime="{{ obj.timestamp.isoformat }}">{{ obj.timestamp }}</time>
|
||||||
</li>
|
</li>
|
||||||
|
{% empty %}
|
||||||
|
<li>{% trans "No data transmitted." %}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user