MOBILE-3833 survey: Improve survey success card look'n'feel

main
Pau Ferrer Ocaña 2022-02-22 23:15:08 +01:00
parent 55e2e5f3a1
commit 0c167326ab
1 changed files with 8 additions and 3 deletions

View File

@ -14,9 +14,14 @@
</core-course-module-info>
<!-- Survey already done -->
<ion-card class="ion-padding" *ngIf="survey && survey.surveydone">
<p class="ion-padding">{{ 'addon.mod_survey.surveycompletednograph' | translate }}</p>
<ion-button expand="block" [href]="module.url" core-link>
<ion-card class="core-success-card" *ngIf="survey && survey.surveydone">
<ion-item>
<ion-icon name="fas-check" slot="start" aria-hidden="true"></ion-icon>
<ion-label>
{{ 'addon.mod_survey.surveycompletednograph' | translate }}
</ion-label>
</ion-item>
<ion-button class="ion-margin" expand="block" [href]="module.url" core-link>
<ion-icon name="fas-external-link-alt" slot="start" aria-hidden="true"></ion-icon>
{{ 'addon.mod_survey.results' | translate }}
</ion-button>