fix the host url for good
This commit is contained in:
parent
4401ba18e5
commit
3d7ac52229
|
@ -743,7 +743,11 @@ The computer details show all the known information about the selected computer.
|
|||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if computer.host %}
|
||||
<p><b>Host:</b> <a href="{% url 'computer' computer.host.id %}">{{ computer.host }}</a></p>
|
||||
{% else %}
|
||||
<p><b>Host:</b> None</p>
|
||||
{% endif %}
|
||||
#+END_SRC
|
||||
|
||||
The list of cron jobs running on the computer get's only displayed if
|
||||
|
|
|
@ -17,7 +17,11 @@
|
|||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
<p><b>Host:</b> <a href="{% url 'computer' computer.id.host %}">{{ computer.host }}</a></p>
|
||||
{% if computer.host %}
|
||||
<p><b>Host:</b> <a href="{% url 'computer' computer.host.id %}">{{ computer.host }}</a></p>
|
||||
{% else %}
|
||||
<p><b>Host:</b> None</p>
|
||||
{% endif %}
|
||||
{% if cronjob_list %}
|
||||
<p><b>Cron Jobs:</b></p>
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue