From 5d36c165a931fb9d9b49e1123d8d0647942339c1 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 20 Aug 2008 15:50:31 +0000 Subject: Add reporting system schema evolution support (from Stousignant) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4884 ce84e21b-d406-0410-9b95-82705330c041 --- .../reports/templates/clients/client-nodebox.html | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/lib/Server/Reports/reports/templates/clients') diff --git a/src/lib/Server/Reports/reports/templates/clients/client-nodebox.html b/src/lib/Server/Reports/reports/templates/clients/client-nodebox.html index 77621cace..88cf05345 100644 --- a/src/lib/Server/Reports/reports/templates/clients/client-nodebox.html +++ b/src/lib/Server/Reports/reports/templates/clients/client-nodebox.html @@ -26,33 +26,33 @@
This node did not run within the last 24 hours-- it may be out of date.
- {% endif %} - {% if interaction.bad_items.all %} + {% endif %} + {% if interaction.bad %}
- {{interaction.bad_items.count}} items did not verify and are considered Dirty.
+ {{interaction.bad.count}} items did not verify and are considered Dirty.
    - {% for bad in interaction.bad_items.all|sortwell %} -
  • {{bad.kind}}: {{bad.name}}
  • + {% for bad in interaction.bad|sortwell %} +
  • {{bad.entry.kind}}: {{bad.entry.name}}
  • {% endfor %}
{% endif %} - {% if interaction.modified_items.all %} + {% if interaction.modified %}
- {{interaction.modified_items.count}} items were modified in the last run.
+ {{interaction.modified.count}} items were modified in the last run.
    - {% for modified in interaction.modified_items.all|sortwell %} -
  • {{modified.kind}}: {{modified.name}}
  • + {% for modified in interaction.modified|sortwell %} +
  • {{modified.entry.kind}}: {{modified.name}}
  • {% endfor %}
{% endif %} - {% if interaction.extra_items.all %} + {% if interaction.extra %}
- {{interaction.extra_items.count}} extra configuration elements on the node.
+ {{interaction.extra.count}} extra configuration elements on the node.
    - {% for extra in interaction.extra_items.all|sortwell %} -
  • {{extra.kind}}: {{extra.name}}
  • + {% for extra in interaction.extra|sortwell %} +
  • {{extra.entry.kind}}: {{extra.entry.name}}
  • {% endfor %}
-- cgit v1.2.3-1-g7c22