remove collaboration button if it's disabled
This commit is contained in:
parent
bf69f86236
commit
2e056a5865
|
@ -79,10 +79,12 @@
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="editor-actions">
|
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="editor-actions">
|
||||||
<li role="presentation">
|
{% if config.get('COLLABORATION') %}
|
||||||
<a role="menuitem" tabindex="-1" href="#" id="start-collaboration">Collaborate</a>
|
<li role="presentation">
|
||||||
</li>
|
<a role="menuitem" tabindex="-1" href="#" id="start-collaboration">Collaborate</a>
|
||||||
<li role="presentation" class="divider"></li>
|
</li>
|
||||||
|
<li role="presentation" class="divider"></li>
|
||||||
|
{% endif %}
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<a role="menuitem" tabindex="-1" href="#" id="discard-draft-btn">Delete Draft</a>
|
<a role="menuitem" tabindex="-1" href="#" id="discard-draft-btn">Delete Draft</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue