Hide download CSV link when in the tour

There is really no point to downloading the CSV file of delivery
info when you’re in the tour. It’s just distracting at this point.
This commit is contained in:
Chris Hill-Scott
2016-07-01 11:37:09 +01:00
parent dfbd6610cb
commit d71269ca87
2 changed files with 29 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
<div class="dashboard-table">
{% endif %}
{% if notifications %}
{% if notifications and request.args.get('help', '0') == '0' %}
<p class="bottom-gutter">
<a href="{{ url_for('.view_job_csv', service_id=current_service.id, job_id=job.id, status=status) }}" download="download" class="heading-small">Download as a CSV file</a>
&emsp;