소스 검색

Another tweak of placement of loading spinner

Angus McLeod 7 년 전
부모
커밋
610aa772f2
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      assets/javascripts/wizard/templates/components/wizard-step.hbs

+ 3 - 4
assets/javascripts/wizard/templates/components/wizard-step.hbs

@@ -28,13 +28,12 @@
   </div>
 
   <div class='wizard-buttons'>
-    {{#if showQuitButton}}
-      <a href {{action "quit"}} class='action-link quit' tabindex="11">{{i18n "wizard.quit"}}</a>
-    {{/if}}
-
     {{#if saving}}
       {{loading-spinner size='small'}}
     {{else}}
+      {{#if showQuitButton}}
+        <a href {{action "quit"}} class='action-link quit' tabindex="11">{{i18n "wizard.quit"}}</a>
+      {{/if}}
       {{#if showBackButton}}
         <a href {{action "backStep"}} class='action-link back' tabindex="11">{{i18n "wizard.back"}}</a>
       {{/if}}