Add view link from /edit to /doc

This commit is contained in:
Tim Van Baak 2021-02-19 00:06:50 -08:00
parent e5ea4f871c
commit fc87b86dc1
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ window.onload = function () {
{{ make_content_tab(tab, loop.first) }}
{%- endfor -%}
<div id="newtab" class="tab"><a href="/edit/{{ document.get_tag('id').value }}?add=tab">+</div>
<div id="view" class="tab tab-right"><a href="/doc/{{ document.get_tag('id').value }}">view</a></div>
<div id="index" class="tab tab-right"><a href="/index/">index</a></div>
</div>
{% for tab in document -%}