File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed
src/addons/mod/quiz/pages/player Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -149,19 +149,20 @@ <h3 class="item-heading">{{ 'addon.mod_quiz.cannotsubmitquizdueto' | translate }
149149 </ ion-button >
150150 </ ion-card >
151151
152- < div collapsible-footer appearOnBottom *ngIf ="!quizAborted && showSummary && summaryQuestions.length && loaded " slot ="fixed "
153- class ="list-item-limited-width ">
154- < ion-button *ngIf ="preventSubmitMessages.length " expand ="block " class ="ion-margin ion-text-wrap " [href] ="moduleUrl " core-link
155- [showBrowserWarning] ="false ">
156- {{ 'core.openinbrowser' | translate }}
157- < ion-icon name ="fas-external-link-alt " slot ="end " aria-hidden ="true "> </ ion-icon >
158- </ ion-button >
152+ < div collapsible-footer appearOnBottom *ngIf ="!quizAborted && showSummary && summaryQuestions.length && loaded " slot ="fixed ">
153+ < div class ="list-item-limited-width ">
154+ < ion-button *ngIf ="preventSubmitMessages.length " expand ="block " class ="ion-margin ion-text-wrap " [href] ="moduleUrl "
155+ core-link [showBrowserWarning] ="false ">
156+ {{ 'core.openinbrowser' | translate }}
157+ < ion-icon name ="fas-external-link-alt " slot ="end " aria-hidden ="true "> </ ion-icon >
158+ </ ion-button >
159159
160- <!-- Button to submit the quiz. -->
161- < ion-button *ngIf ="!attempt!.finishedOffline && !preventSubmitMessages.length " expand ="block " class ="ion-margin ion-text-wrap "
162- (click) ="finishAttempt(true) ">
163- {{ 'addon.mod_quiz.submitallandfinish' | translate }}
164- </ ion-button >
160+ <!-- Button to submit the quiz. -->
161+ < ion-button *ngIf ="!attempt!.finishedOffline && !preventSubmitMessages.length " expand ="block "
162+ class ="ion-margin ion-text-wrap " (click) ="finishAttempt(true) ">
163+ {{ 'addon.mod_quiz.submitallandfinish' | translate }}
164+ </ ion-button >
165+ </ div >
165166 </ div >
166167 </ core-loading >
167168</ ion-content >
You can’t perform that action at this time.
0 commit comments