From eceeda42cac9fd0063b8a6535addc7ed7f0099a6 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 9 Nov 2009 17:15:02 +0000 Subject: Reports: Fix interaction display (Patch from Tim Laszlo) [bugfix] From mailing list: This has bugged me for a while.. not sure where it broke but when clicking on an action on a node the details no longer display. Every entry displayed "This item does not currently exist on the host but is specified to exist in the configuration.". This is for the "/elements/bad/266499/" views. Also the clients affected list was no longer being displayed. I changed the look up for item here to throw a 404 if it wasnt found. Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5561 ce84e21b-d406-0410-9b95-82705330c041 --- .../reports/templates/config_items/index.html | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'src/lib/Server/Reports/reports/templates/config_items') diff --git a/src/lib/Server/Reports/reports/templates/config_items/index.html b/src/lib/Server/Reports/reports/templates/config_items/index.html index d9747904e..8de1a63cc 100644 --- a/src/lib/Server/Reports/reports/templates/config_items/index.html +++ b/src/lib/Server/Reports/reports/templates/config_items/index.html @@ -20,11 +20,11 @@ {% ifequal mod_or_bad "bad" %}
-

Bad {{item.kind}}: {{item.name}}

+

Bad {{item.entry.kind}}: {{item.entry.name}}

{% else %}
-

Modified {{item.kind}}: {{item.name}}

+

Modified {{item.entry.kind}}: {{item.entry.name}}

{% endifequal %}
@@ -58,11 +58,23 @@ Calendar {% ifequal mod_or_bad "modified" %} - - | + + | {% else %} - - | + + | {% endifequal %}


-- cgit v1.2.3-1-g7c22