Merge pull request #141 from ventris/master
Fixed variabel names in index.html and app.py
This commit is contained in:
@@ -204,7 +204,7 @@ def reports():
|
|||||||
return render_template('reports.html')
|
return render_template('reports.html')
|
||||||
|
|
||||||
|
|
||||||
@app.route('/reports/<node>')
|
@app.route('/reports/<node_name>')
|
||||||
def reports_node(node_name):
|
def reports_node(node_name):
|
||||||
"""Fetches all reports for a node and processes them eventually rendering
|
"""Fetches all reports for a node and processes them eventually rendering
|
||||||
a table displaying those reports."""
|
a table displaying those reports."""
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if node.report_timestamp %}
|
{% 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 %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user