summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-29 11:03:57 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-29 11:03:57 -0500
commitf1cf0c133691226b89d180c0138d766a4797268d (patch)
treee6dc1f5661794208d4316b1a62ccf72d3bc6f577 /src
parent2327dce64770c14d9924d26115b8039320379d3f (diff)
downloadbcfg2-f1cf0c133691226b89d180c0138d766a4797268d.tar.gz
bcfg2-f1cf0c133691226b89d180c0138d766a4797268d.tar.bz2
bcfg2-f1cf0c133691226b89d180c0138d766a4797268d.zip
Reporting: Only display profile if present
Diffstat (limited to 'src')
-rw-r--r--src/lib/Bcfg2/Reporting/templates/clients/detail.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/clients/detail.html b/src/lib/Bcfg2/Reporting/templates/clients/detail.html
index b2244bfa1..27a791fee 100644
--- a/src/lib/Bcfg2/Reporting/templates/clients/detail.html
+++ b/src/lib/Bcfg2/Reporting/templates/clients/detail.html
@@ -50,7 +50,9 @@ span.history_links a {
{% if interaction.server %}
<tr><td>Served by</td><td>{{interaction.server}}</td></tr>
{% endif %}
+ {% if interaction.profile %}
<tr><td>Profile</td><td>{{interaction.profile}}</td></tr>
+ {% endif %}
{% if interaction.repo_rev_code %}
<tr><td>Revision</td><td>{{interaction.repo_rev_code}}</td></tr>
{% endif %}