show last process updates run in same line
<h4>{% trans 'Process updates' %}</h4>
<form method="post">
{% csrf_token %}
+ <p class="green">
{% if auto_process_updates %}
- <p class="green">{% trans 'Map updates are currently processed automatically.' %}</p>
+ <span class="green">{% trans 'Map updates are currently processed automatically.' %}</span>
{% else %}
- <p>{% trans 'Map updates are currently not processed automatically.' %}</p>
+ {% trans 'Map updates are currently not processed automatically.' %}
{% endif %}
{% if last_processed %}
- <p>
{% trans 'Last run:' %}
{% if not last_processed_success %}
<strong class="red">{% trans '(failed)' %}</strong>
{% endif %}
{{ last_processed|date:"SHORT_DATETIME_FORMAT" }}
- </p>
{% endif %}
+ </p>
<button type="submit" name="process_updates" value="1">{% trans 'Process map updates now' %}</button>
</form>
</div>
