From 8db60d14bdfcfbead75d4647942fcf9913fe5068 Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Thu, 22 Aug 2013 13:17:48 -0700 Subject: [PATCH] nodes: Only show report button if we have a report Based on if the report_timestamp is truthy we'll show the reports button, instead of always having it show up. --- puppetboard/templates/nodes.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/puppetboard/templates/nodes.html b/puppetboard/templates/nodes.html index bb26e79..ad8a990 100644 --- a/puppetboard/templates/nodes.html +++ b/puppetboard/templates/nodes.html @@ -40,7 +40,9 @@ {% endif %} + {% if node.report_timestamp %} Reports + {% endif %} {% endif %}