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

@@ -18,6 +18,9 @@
<div class="header">
<div class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
<a class="pure-menu-heading" href="/"><strong>Change</strong>Detection.io</a>
{% if current_diff_url %}
<a class=current-diff-url href="{{ current_diff_url }}">{{ current_diff_url }}</a>
{% endif %}
<ul class="pure-menu-list">