Clean up custom script templates

This commit is contained in:
Jeremy Stretch 2020-08-10 16:27:24 -04:00
parent 93da6b6edf
commit c163ec1e8d
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,9 @@
</td>
<td>{{ script.Meta.description }}</td>
{% if script.result %}
<td class="text-right">{{ script.result.created }}</td>
<td class="text-right">
<a href="{% url 'extras:script_result' job_result_pk=script.result.pk %}">{{ script.result.created }}</a>
</td>
{% else %}
<td class="text-right text-muted">Never</td>
{% endif %}

View File

@ -4,7 +4,7 @@
{% load log_levels %}
{% load static %}
{% block title %}{{ script }}{% endblock %}
{% block title %}{{ script }} - {{ result.get_status_display }}{% endblock %}
{% block content %}
<div class="row noprint">