mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Change location of add section at bottom of content
This commit is contained in:
parent
f5bdbb49d0
commit
9fd002b5da
2 changed files with 20 additions and 19 deletions
|
@ -22,21 +22,6 @@
|
|||
onPageSequenceChange=(action onPageSequenceChange)
|
||||
onShowSectionWizard=(action "onShowSectionWizard")}}
|
||||
{{/each}}
|
||||
{{#if showLikes}}
|
||||
<div class="vote-box no-print">
|
||||
{{#if voteThanks}}
|
||||
<div class="thanks">Thanks for the feedback!</div>
|
||||
{{else}}
|
||||
<div class="prompt">{{folder.likes}}</div>
|
||||
{{ui/ui-spacer size=200}}
|
||||
<div class="buttons">
|
||||
{{ui/ui-button color=constants.Color.Yellow light=true label="Yes, thanks!" onClick=(action "onVote" 1)}}
|
||||
{{ui/ui-button-gap}}
|
||||
{{ui/ui-button color=constants.Color.Yellow light=true label="Not really" onClick=(action "onVote" 2)}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if canEdit}}
|
||||
|
@ -47,6 +32,22 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if showLikes}}
|
||||
<div class="vote-box no-print">
|
||||
{{#if voteThanks}}
|
||||
<div class="thanks">Thanks for the feedback!</div>
|
||||
{{else}}
|
||||
<div class="prompt">{{folder.likes}}</div>
|
||||
{{ui/ui-spacer size=200}}
|
||||
<div class="buttons">
|
||||
{{ui/ui-button color=constants.Color.Yellow light=true label="Yes, thanks!" onClick=(action "onVote" 1)}}
|
||||
{{ui/ui-button-gap}}
|
||||
{{ui/ui-button color=constants.Color.Yellow light=true label="Not really" onClick=(action "onVote" 2)}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if canEdit}}
|
||||
{{document/add-section
|
||||
pages=pages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue