Reporting: show searched Box folder under the search input
Mirrors the hint pattern just added to Video Master so users can see exactly which Box folder the search is scanning, with a clickable link to open it in Box for self-diagnosis when a job number doesn't turn up.
This commit is contained in:
parent
6b8b8ea5a6
commit
a52d50d549
2 changed files with 9 additions and 2 deletions
|
|
@ -133,7 +133,8 @@ def index():
|
|||
return render_template(
|
||||
'reporting/index.html',
|
||||
active_tab='reporting',
|
||||
box_jobs=box_jobs
|
||||
box_jobs=box_jobs,
|
||||
report_folder_id=current_app.config.get('BOX_REPORT_FOLDER_ID')
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,13 @@
|
|||
required
|
||||
autofocus>
|
||||
<div class="form-text">
|
||||
Enter one or more job/campaign numbers to search for QC reports
|
||||
Enter one or more job/campaign numbers (comma-separated for multiple) to search for QC reports.
|
||||
{% if report_folder_id %}
|
||||
Searches inside Box folder
|
||||
<a href="https://app.box.com/folder/{{ report_folder_id }}" target="_blank">
|
||||
#{{ report_folder_id }}
|
||||
</a>.
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue