summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/templates
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-16 09:47:19 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-16 09:47:44 -0500
commit22cea7c28a7050f762aa3ac1a5ea67ad1c7bf66d (patch)
tree34f3d2afdd74349219895237fae5752a80ea0d11 /src/lib/Bcfg2/Reporting/templates
parenta1c4d6ac73a5240ba308deffe8c2eb706af90ccd (diff)
downloadbcfg2-22cea7c28a7050f762aa3ac1a5ea67ad1c7bf66d.tar.gz
bcfg2-22cea7c28a7050f762aa3ac1a5ea67ad1c7bf66d.tar.bz2
bcfg2-22cea7c28a7050f762aa3ac1a5ea67ad1c7bf66d.zip
Reporting: use mode instead of perms
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates')
-rw-r--r--src/lib/Bcfg2/Reporting/templates/config_items/item.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/config_items/item.html b/src/lib/Bcfg2/Reporting/templates/config_items/item.html
index 1eb2956f4..737760252 100644
--- a/src/lib/Bcfg2/Reporting/templates/config_items/item.html
+++ b/src/lib/Bcfg2/Reporting/templates/config_items/item.html
@@ -45,11 +45,11 @@ div.entry_list h3 {
{% endif %}
{# Really need a better test here #}
-{% if item.perms_problem or item.status_problem or item.linkentry.link_problem or item.version_problem %}
+{% if item.mdoe_problem or item.status_problem or item.linkentry.link_problem or item.version_problem %}
<table class='entry_list'>
<tr id='table_list_header'>
<td style='text-align: right;'>Problem Type</td><td>Expected</td><td style='border-bottom: 1px solid #98DBCC;'>Found</td></tr>
- {% if item.perms_problem %}
+ {% if item.mode_problem %}
{% if item.current_perms.owner %}
<tr><td style='text-align: right'><b>Owner</b></td><td>{{item.target_perms.owner}}</td>
<td>{{item.current_perms.owner}}</td></tr>
@@ -59,7 +59,7 @@ div.entry_list h3 {
<td>{{item.current_perms.group}}</td></tr>
{% endif %}
{% if item.current_perms.mode%}
- <tr><td style='text-align: right'><b>Perms</b></td><td>{{item.target_perms.perms}}</td>
+ <tr><td style='text-align: right'><b>Mode</b></td><td>{{item.target_perms.mode}}</td>
<td>{{item.current_perms.mode}}</td></tr>
{% endif %}
{% endif %}