diff options
author | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-30 05:03:51 +0100 |
---|---|---|
committer | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-30 05:03:51 +0100 |
commit | 44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b (patch) | |
tree | bbbad6988088f69214a48a13e237132ee64f6e03 /src/lib/Bcfg2/Reporting/templates/config_items | |
parent | ba1a18e060a8614b3dcb41b94a7ad37e89f1dfdf (diff) | |
parent | c11f4f790d710721dcc99f87cfcbafb49e9a4715 (diff) | |
download | bcfg2-44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b.tar.gz bcfg2-44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b.tar.bz2 bcfg2-44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b.zip |
Merge branch 'debconf'
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates/config_items')
-rw-r--r-- | src/lib/Bcfg2/Reporting/templates/config_items/item.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/config_items/item.html b/src/lib/Bcfg2/Reporting/templates/config_items/item.html index 91c368bd7..9a103bc72 100644 --- a/src/lib/Bcfg2/Reporting/templates/config_items/item.html +++ b/src/lib/Bcfg2/Reporting/templates/config_items/item.html @@ -45,7 +45,7 @@ div.entry_list h3 { {% endif %} {# Really need a better test here #} -{% if item.mode_problem or item.status_problem or item.linkentry.link_problem or item.version_problem %} +{% if item.mode_problem or item.status_problem or item.linkentry.link_problem or item.version_problem or item.conf_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> @@ -86,6 +86,11 @@ div.entry_list h3 { <td>{{item.selinuxtype}}</td> <td>{{item.current_selinuxtype}}</td></tr> {% endif %} + {% if item.conf_problem %} + <tr><td style='text-align: right'><b>Conf Value</b></td> + <td>{{item.value|default:""}}</td> + <td>{{item.current_value|default:""}}</td></tr> + {% endif %} </table> {% endif %} |