remove collaboration button if it's disabled

This commit is contained in:
Matthew Scragg 2015-07-15 09:06:39 -05:00
джерело bf69f86236
коміт 2e056a5865
1 змінених файлів з 6 додано та 4 видалено

@ -79,10 +79,12 @@
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="editor-actions">
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#" id="start-collaboration">Collaborate</a>
</li>
<li role="presentation" class="divider"></li>
{% if config.get('COLLABORATION') %}
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#" id="start-collaboration">Collaborate</a>
</li>
<li role="presentation" class="divider"></li>
{% endif %}
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#" id="discard-draft-btn">Delete Draft</a>
</li>