Include the current URL in the page when viewing the version diff

This commit is contained in:
Leigh Morresi
2021-02-01 21:56:18 +01:00
parent 7b4ed2429d
commit 25b565d9ba
3 changed files with 5 additions and 2 deletions

View File

@@ -208,7 +208,7 @@ def diff_history_page(uuid):
#print (dates, l_file, r_file)
output = render_template("diff.html", watch_a=watch, messages=messages, left=left_file_contents,
right=right_file_contents, extra_stylesheets=extra_stylesheets, versions=dates[:-1],
current_previous_version=str(previous_version))
current_previous_version=str(previous_version), current_diff_url=watch['url'])
return output
@app.route("/favicon.ico", methods=['GET'])