Add view link from /edit to /doc
This commit is contained in:
parent
e5ea4f871c
commit
fc87b86dc1
|
@ -211,6 +211,7 @@ window.onload = function () {
|
||||||
{{ make_content_tab(tab, loop.first) }}
|
{{ make_content_tab(tab, loop.first) }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
<div id="newtab" class="tab"><a href="/edit/{{ document.get_tag('id').value }}?add=tab">+</div>
|
<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 id="index" class="tab tab-right"><a href="/index/">index</a></div>
|
||||||
</div>
|
</div>
|
||||||
{% for tab in document -%}
|
{% for tab in document -%}
|
||||||
|
|
Loading…
Reference in New Issue