UX: moves wizard's "Finish" button to the left of back and next (#7027)

This was done to avoid clicking finish when clicking fast on next.
This commit is contained in:
Joffrey JAFFEUX
2019-02-19 13:32:01 +01:00
committed by GitHub
parent 8a4cd15e46
commit 0616837a5d
2 changed files with 9 additions and 8 deletions

View File

@@ -32,6 +32,12 @@
<a href {{action "quit"}} class='action-link quit' tabindex="11">{{i18n "wizard.quit"}}</a>
{{/if}}
{{#if showFinishButton}}
<button class='wizard-btn finish' {{action "exitEarly"}} disabled={{saving}} tabindex="10">
{{i18n "wizard.finish"}}
</button>
{{/if}}
{{#if showBackButton}}
<a href {{action "backStep"}} class='action-link back' tabindex="11">{{i18n "wizard.back"}}</a>
{{/if}}
@@ -43,12 +49,6 @@
</button>
{{/if}}
{{#if showFinishButton}}
<button class='wizard-btn finish' {{action "exitEarly"}} disabled={{saving}} tabindex="10">
{{i18n "wizard.finish"}}
</button>
{{/if}}
{{#if showDoneButton}}
<button class='wizard-btn done' {{action "quit"}} disabled={{saving}} tabindex="10">
{{i18n "wizard.done"}}