Add link to /new/ on index in edit mode
This commit is contained in:
parent
f663291067
commit
b0d14a89ca
@ -77,6 +77,10 @@ window.onload = function () {
|
||||
{% block page_content %}
|
||||
<div id="tabs">
|
||||
|
||||
{%- if index and edit -%}
|
||||
<div id="new-document" class="tab"><a href="/new/">new</a></div>
|
||||
{%- endif -%}
|
||||
|
||||
{%- for tab in document -%}
|
||||
{%- if not tab.options.private or edit-%}
|
||||
{{ make_content_tab(tab, loop.first) }}
|
||||
|
Loading…
Reference in New Issue
Block a user