Merge pull request #141 from ventris/master

Fixed variabel names in index.html and app.py
This commit is contained in:
Fotis Gimian
2015-05-11 19:44:53 +10:00
2 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ def reports():
return render_template('reports.html')
@app.route('/reports/<node>')
@app.route('/reports/<node_name>')
def reports_node(node_name):
"""Fetches all reports for a node and processes them eventually rendering
a table displaying those reports."""

View File

@@ -108,7 +108,7 @@
</td>
<td>
{% if node.report_timestamp %}
<a title='Reports' href="{{url_for('reports_node', node=node.name)}}"><i class='large darkblue book icon'></i></a>
<a title='Reports' href="{{url_for('reports_node', node_name=node.name)}}"><i class='large darkblue book icon'></i></a>
{% endif %}
</td>
</tr>