add a link to the computer details on the cron job page

This commit is contained in:
Andreas Zweili 2017-12-27 16:41:03 +01:00
parent 3ea76be053
commit e726b0213e
2 changed files with 2 additions and 2 deletions

View File

@ -706,7 +706,7 @@ The cron job details page shows all the information related to a cron job.
{% block section_title %}{{ cronjob.name }}{% endblock %}
{% block content %}
<h3>Description</h3>
<p><b>Host:</b> {{ cronjob.host }}</p>
<p><b>Host:</b> <a href="{% url 'computer' cronjob.host.id %}">{{ cronjob.host }}</a></p>
<p><b>Command: </b>{{ cronjob.command }}</p>
<table cellpadding="10">
<tr>

View File

@ -2,7 +2,7 @@
{% block section_title %}{{ cronjob.name }}{% endblock %}
{% block content %}
<h3>Description</h3>
<p><b>Host:</b> {{ cronjob.host }}</p>
<p><b>Host:</b> <a href="{% url 'computer' cronjob.host.id %}">{{ cronjob.host }}</a></p>
<p><b>Command: </b>{{ cronjob.command }}</p>
<table cellpadding="10">
<tr>