diff options
-rw-r--r-- | static/js/revision_diff.js | 4 | ||||
-rw-r--r-- | templates/wiki/base.html | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/static/js/revision_diff.js b/static/js/revision_diff.js index 86f30b41..2b412d46 100644 --- a/static/js/revision_diff.js +++ b/static/js/revision_diff.js @@ -1,6 +1,6 @@ "use strict"; -function(){ +(function() { let buttons = document.querySelectorAll("td input"); // Fetch all radio buttons let id_reg = /compare-(before|after)-([\w|-]+)/; // Matches compare-after/before-ID @@ -72,4 +72,4 @@ buttons.forEach(function(button){ radioButtonChecked(button); } }); -}(); +})(); diff --git a/templates/wiki/base.html b/templates/wiki/base.html index b2545977..0eb410ad 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -92,6 +92,11 @@ <i class="uk-icon fas fa-fw fa-code"></i> Source </a> </li> + <li> + <a href="{{ url_for("history.show", page=page) }}"> + <i class="uk-icon fas fa-fw fa-history"></i> Revisions + </a> + </li> {% else %} <li> <a href="{{ url_for("wiki.page", page=page) }}"> |