correct the page titles

This commit is contained in:
Andreas Zweili 2017-12-29 12:35:50 +01:00
parent 5a30aa8814
commit 26869813e0
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{% extends "inventory/base.html" %}
{% block section_title %}List of Computers{% endblock %}
{% block content %}
{% if computer_list %}
<h3>Computer List</h3>
<table class="sortable">
<tr>
<th>Hostname</th>

View File

@ -1,7 +1,7 @@
{% extends "inventory/base.html" %}
{% block section_title %}List of Cron Jobs{% endblock %}
{% block content %}
{% if cronjob_list %}
<h3>Cron Job List</h3>
<table class="sortable">
<tr>
<th>Name</th>

View File

@ -1,7 +1,7 @@
{% extends "inventory/base.html" %}
{% block section_title %}List of General Devices{% endblock %}
{% block content %}
{% if device_list %}
<h3>Device List</h3>
<ul>
{% for device in device_list %}
<li><a href="{% url 'device' device.id %}">{{ device.name }}</a></li>