summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/templates/config_items/common.html
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-04-29 07:37:38 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-04-29 07:37:38 -0500
commit84a83cab07853b83e91c40c440f65b911e3296a5 (patch)
treed473706546a624ffef8ab497fb4b7cefe2d66866 /src/lib/Bcfg2/Reporting/templates/config_items/common.html
parent139e8abff3eba4a1c6ce1a33f9835b42463583f9 (diff)
downloadbcfg2-84a83cab07853b83e91c40c440f65b911e3296a5.tar.gz
bcfg2-84a83cab07853b83e91c40c440f65b911e3296a5.tar.bz2
bcfg2-84a83cab07853b83e91c40c440f65b911e3296a5.zip
Reports: Add support for Django 1.5
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates/config_items/common.html')
-rw-r--r--src/lib/Bcfg2/Reporting/templates/config_items/common.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/config_items/common.html b/src/lib/Bcfg2/Reporting/templates/config_items/common.html
index 57191ec39..0dbd52156 100644
--- a/src/lib/Bcfg2/Reporting/templates/config_items/common.html
+++ b/src/lib/Bcfg2/Reporting/templates/config_items/common.html
@@ -29,9 +29,9 @@
{% for item in type_list %}
<tr class='{% cycle listview,listview_alt %}'>
<td>{{ item.ENTRY_TYPE }}</td>
- <td><a href="{% url reports_entry item.class_name, item.pk %}">{{ item.name }}</a></td>
+ <td><a href='{% url "reports_entry" item.class_name item.pk %}'>{{ item.name }}</a></td>
<td>{{ item.num_entries }}</td>
- <td><a href="{% url reports_item item.ENTRY_TYPE, item.pk %}">{{ item.short_list|join:"," }}</a></td>
+ <td><a href='{% url "reports_item" item.ENTRY_TYPE item.pk %}'>{{ item.short_list|join:"," }}</a></td>
</tr>
{% endfor %}
</table>