mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Clean up custom script templates
This commit is contained in:
parent
93da6b6edf
commit
c163ec1e8d
@ -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 %}
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user