From 15f2b2c4edbba14eb817b9be8a32ea9565ad0bae Mon Sep 17 00:00:00 2001 From: Sebastian Svensson Date: Mon, 11 May 2015 11:33:40 +0200 Subject: [PATCH] renamed node in @app.route('/reports/') to node_name and renamed node in {% if node.report_timestamp %} to node_name --- puppetboard/app.py | 2 +- puppetboard/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/puppetboard/app.py b/puppetboard/app.py index 31f98a8..84e9b33 100644 --- a/puppetboard/app.py +++ b/puppetboard/app.py @@ -204,7 +204,7 @@ def reports(): return render_template('reports.html') -@app.route('/reports/') +@app.route('/reports/') def reports_node(node_name): """Fetches all reports for a node and processes them eventually rendering a table displaying those reports.""" diff --git a/puppetboard/templates/index.html b/puppetboard/templates/index.html index dc76ea8..599bde8 100644 --- a/puppetboard/templates/index.html +++ b/puppetboard/templates/index.html @@ -108,7 +108,7 @@ {% if node.report_timestamp %} - + {% endif %}