Skip to content

Commit

Permalink
Show filename on workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayak-mehta committed Nov 20, 2018
1 parent 42d2459 commit f80b78d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion excalibur/www/templates/workspace.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="container">
<div class="row pb-4">
<div class="col-md-12">
<h2>Workspace</h2>
<h2>Workspace - {{ filename }}</h2>
</div>
</div>
<div class="row">
Expand Down
6 changes: 3 additions & 3 deletions excalibur/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def workspaces(file_id):
}
for rule in rules]
return render_template(
'workspace.html', imagepath=imagepath, file_dimensions=file_dimensions,
image_dimensions=image_dimensions, detected_areas=detected_areas,
saved_rules=saved_rules)
'workspace.html', filename=file.filename, imagepath=imagepath,
file_dimensions=file_dimensions, image_dimensions=image_dimensions,
saved_rules=saved_rules, detected_areas=detected_areas)


@views.route('/rules', methods=['GET', 'POST'], defaults={'rule_id': None})
Expand Down

0 comments on commit f80b78d

Please sign in to comment.