diff options
author | 2018-04-08 01:07:41 +0100 | |
---|---|---|
committer | 2018-04-08 01:07:41 +0100 | |
commit | 8235adbecdf09ffe2e8b7a04a38d0be2d86fd5d4 (patch) | |
tree | c126eef18d6bb10306d577bb5673a1f2a1bb2e88 /templates/wiki | |
parent | [Wiki] Shorten edit/view links in sidebar (diff) |
Easier debugging and optimised imports
Simply set FLASK_DEBUG=1 in your env to skip OAuth checks
Diffstat (limited to 'templates/wiki')
-rw-r--r-- | templates/wiki/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html index eb697677..c7bd5616 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -26,7 +26,7 @@ <div class="uk-flex uk-flex-row" style="height: 100%;"> <div class="uk-card uk-card-body uk-flex-left uk-flex"> <ul class="uk-nav-default uk-nav-parent-icon" uk-nav> - {% if can_edit and current_page == "page" %} + {% if (can_edit or debug) and current_page == "page" %} <li> <a href="{{ url_for("wiki.edit", page=page) }}"> <i class="fas fa-pencil-alt"></i> Edit |