Merge pull request #1683 from crazyserver/MOBILE-2604-2

MOBILE-2604 assign: Wrap badge text on participant list
main
Juan Leyva 2018-12-19 16:05:10 +01:00 committed by GitHub
commit 138221e136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,10 +27,10 @@
<span *ngIf="assign.preventsubmissionnotingroup && !submission.groupname && submission.manyGroups && !submission.blindid">{{ 'addon.mod_assign.multipleteams' | translate }}</span>
<span *ngIf="!assign.preventsubmissionnotingroup && !submission.groupname">{{ 'addon.mod_assign.defaultteam' | translate }}</span>
</p>
<ion-badge text-center [color]="submission.statusColor" *ngIf="submission.statusTranslated">
<ion-badge text-center text-wrap [color]="submission.statusColor" *ngIf="submission.statusTranslated">
{{ submission.statusTranslated }}
</ion-badge>
<ion-badge text-center [color]="submission.gradingColor" *ngIf="submission.gradingStatusTranslationId">
<ion-badge text-center text-wrap [color]="submission.gradingColor" *ngIf="submission.gradingStatusTranslationId">
{{ submission.gradingStatusTranslationId | translate }}
</ion-badge>
</a>