diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html | 2 | ||||
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/reports/templates/config_items/listing.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html index 570ad645b..d6ad303fc 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html +++ b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/common.html @@ -28,7 +28,7 @@ {% for entry, reason, interaction in type_list %} <tr class='{% cycle listview,listview_alt %}'> <td>{{ entry.kind }}</td> - <td><a href="{% url reports_item type=type_name pk=interaction.0 %}">{{ entry.name }}</a></td> + <td><a href="{% url reports_entry eid=entry.pk %}">{{ entry.name }}</a></td> <td>{{ interaction|length }}</td> <td><a href="{% url reports_item type=type_name pk=interaction.0 %}">{{ reason.short_list|join:"," }}</a></td> </tr> diff --git a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/listing.html b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/listing.html index bc883098d..0a92e7fc0 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/listing.html +++ b/src/lib/Bcfg2/Server/Reports/reports/templates/config_items/listing.html @@ -21,7 +21,7 @@ <tr style='text-align: left' ><th>Name</th><th>Count</th><th>Reason</th></tr> {% for entry, reason, eis in type_data %} <tr class='{% cycle listview,listview_alt %}'> - <td><a href="{% url reports_item type=mod_or_bad,pk=eis.0 %}">{{entry.name}}</a></td> + <td><a href="{% url reports_entry eid=entry.pk %}">{{entry.name}}</a></td> <td>{{ eis|length }}</td> <td><a href="{% url reports_item type=mod_or_bad,pk=eis.0 %}">{{ reason.short_list|join:"," }}</a></td> </tr> |