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.
This commit is contained in:
@@ -40,7 +40,9 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if node.report_timestamp %}
|
||||
<a class="btn btn-small btn-primary" href="{{url_for('reports_node', node=node.name)}}">Reports</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user