summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/templates/config_items/item.html
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-10-15 13:32:14 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-10-15 13:32:14 -0500
commitca1237602fff7678041e8c338b067453c267712d (patch)
treeafc30aa6af60355fe7dde700a26fba71bf7ec372 /src/lib/Bcfg2/Reporting/templates/config_items/item.html
parentcc4b4e645158f26313a306b0f445987164a2e472 (diff)
downloadbcfg2-ca1237602fff7678041e8c338b067453c267712d.tar.gz
bcfg2-ca1237602fff7678041e8c338b067453c267712d.tar.bz2
bcfg2-ca1237602fff7678041e8c338b067453c267712d.zip
POSIX: Switch from perms to mode
Bcfg2 has traditionally used the 'perms' attribute to specify the file mode for POSIX entries. Switching to a 'mode' attribute will allow us to be more consistent with other tools as well as POSIX itself. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates/config_items/item.html')
-rw-r--r--src/lib/Bcfg2/Reporting/templates/config_items/item.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/config_items/item.html b/src/lib/Bcfg2/Reporting/templates/config_items/item.html
index 4c2e9c2ae..1eb2956f4 100644
--- a/src/lib/Bcfg2/Reporting/templates/config_items/item.html
+++ b/src/lib/Bcfg2/Reporting/templates/config_items/item.html
@@ -58,9 +58,9 @@ div.entry_list h3 {
<tr><td style='text-align: right'><b>Group</b></td><td>{{item.target_perms.group}}</td>
<td>{{item.current_perms.group}}</td></tr>
{% endif %}
- {% if item.current_perms.perms %}
+ {% if item.current_perms.mode%}
<tr><td style='text-align: right'><b>Perms</b></td><td>{{item.target_perms.perms}}</td>
- <td>{{item.current_perms.perms}}</td></tr>
+ <td>{{item.current_perms.mode}}</td></tr>
{% endif %}
{% endif %}
{% if item.status_problem %}