summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/templates/config_items/listing.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates/config_items/listing.html')
-rw-r--r--src/lib/Bcfg2/Reporting/templates/config_items/listing.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/config_items/listing.html b/src/lib/Bcfg2/Reporting/templates/config_items/listing.html
index 0e4812e85..b8fba61ce 100644
--- a/src/lib/Bcfg2/Reporting/templates/config_items/listing.html
+++ b/src/lib/Bcfg2/Reporting/templates/config_items/listing.html
@@ -1,9 +1,6 @@
{% extends "base-timeview.html" %}
{% load bcfg2_tags %}
-{% comment %}
-This is needed for Django versions less than 1.5
-{% endcomment %}
-{% load url from future %}
+{% load url from bcfg2_compat %}
{% block title %}Bcfg2 - Element Listing{% endblock %}
@@ -24,7 +21,7 @@ This is needed for Django versions less than 1.5
<table id='table_{{ type_name }}' class='entry_list'>
<tr style='text-align: left' ><th>Name</th><th>Count</th><th>Reason</th></tr>
{% for entry in type_data %}
- <tr class='{% cycle listview,listview_alt %}'>
+ <tr class='{% cycle 'listview' 'listview_alt' %}'>
<td><a href='{% url "reports_entry" entry.class_name entry.pk %}'>{{entry.name}}</a></td>
<td>{{entry.num_entries}}</td>
<td><a href='{% url "reports_item" entry.class_name entry.pk %}'>{{entry.short_list|join:","}}</a></td>