1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +02:00

editors can add sections

This commit is contained in:
Harvey Kandola 2017-06-23 14:07:06 -04:00
parent 567d49f794
commit 7397812307
5 changed files with 636 additions and 703 deletions

View file

@ -27,14 +27,16 @@
{{/document/document-tab}}
{{/if}}
{{/each}}
<div class="start-section" data-index="0" data-before-id="0" id="add-section-button-0" {{action 'onShowSectionWizard'}}>
<div class="start-button">
<div class="round-button round-button-small button-green">
<i class="material-icons">add</i>
{{#if isEditor}}
<div class="start-section" data-index="0" data-before-id="0" id="add-section-button-0" {{action 'onShowSectionWizard'}}>
<div class="start-button">
<div class="round-button round-button-small button-green">
<i class="material-icons">add</i>
</div>
<div class="label">section</div>
</div>
<div class="label">section</div>
</div>
</div>
{{/if}}
{{else}}
{{#if isEditor}}
<div class="start-section start-section-empty-state" data-index="-1" data-before-id="0" id="add-section-button-0" {{action 'onShowSectionWizard'}}>

View file

@ -1,6 +1,6 @@
{
"name": "documize",
"version": "1.48.1",
"version": "1.48.2",
"description": "The Document IDE",
"private": true,
"repository": "",