MOBILE-3149 style: Remove hide-detail
parent
079d914de6
commit
be1bacba0c
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
<!-- Summary of submissions with draft status. -->
|
<!-- Summary of submissions with draft status. -->
|
||||||
<ion-item class="ion-text-wrap" *ngIf="assign.submissiondrafts && summary && summary.submissionsenabled"
|
<ion-item class="ion-text-wrap" *ngIf="assign.submissiondrafts && summary && summary.submissionsenabled"
|
||||||
[class.hide-detail]="!summary.submissiondraftscount" detail="true" [button]="summary.submissiondraftscount"
|
[detail]="summary.submissiondraftscount" [button]="summary.submissiondraftscount"
|
||||||
(click)="goToSubmissionList(submissionStatusDraft, !!summary.submissiondraftscount)">
|
(click)="goToSubmissionList(submissionStatusDraft, !!summary.submissiondraftscount)">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ 'addon.mod_assign.numberofdraftsubmissions' | translate }}</h2>
|
<h2>{{ 'addon.mod_assign.numberofdraftsubmissions' | translate }}</h2>
|
||||||
|
@ -80,8 +80,8 @@
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
<!-- Summary of submissions with submitted status. -->
|
<!-- Summary of submissions with submitted status. -->
|
||||||
<ion-item class="ion-text-wrap" *ngIf="summary && summary.submissionsenabled"
|
<ion-item class="ion-text-wrap" *ngIf="summary && summary.submissionsenabled" [detail]="summary.submissionssubmittedcount"
|
||||||
[class.hide-detail]="!summary.submissionssubmittedcount" detail="true" [button]="summary.submissionssubmittedcount"
|
[button]="summary.submissionssubmittedcount"
|
||||||
(click)="goToSubmissionList(submissionStatusSubmitted, !!summary.submissionssubmittedcount)">
|
(click)="goToSubmissionList(submissionStatusSubmitted, !!summary.submissionssubmittedcount)">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ 'addon.mod_assign.numberofsubmittedassignments' | translate }}</h2>
|
<h2>{{ 'addon.mod_assign.numberofsubmittedassignments' | translate }}</h2>
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
|
|
||||||
<!-- Summary of submissions that need grading. -->
|
<!-- Summary of submissions that need grading. -->
|
||||||
<ion-item class="ion-text-wrap" *ngIf="summary && summary.submissionsenabled && !assign.teamsubmission"
|
<ion-item class="ion-text-wrap" *ngIf="summary && summary.submissionsenabled && !assign.teamsubmission"
|
||||||
[class.hide-detail]="!needsGradingAvailable" detail="true" [button]="needsGradingAvailable"
|
[detail]="needsGradingAvailable" [button]="needsGradingAvailable"
|
||||||
(click)="goToSubmissionList(needGrading, needsGradingAvailable)">
|
(click)="goToSubmissionList(needGrading, needsGradingAvailable)">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ 'addon.mod_assign.numberofsubmissionsneedgrading' | translate }}</h2>
|
<h2>{{ 'addon.mod_assign.numberofsubmissionsneedgrading' | translate }}</h2>
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
</ion-select-option>
|
</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item class="ion-text-wrap" (click)="openAttempts()" [class.hide-detail]="!(access.canviewreports && completedCount > 0)"
|
<ion-item class="ion-text-wrap" (click)="openAttempts()" [detail]="access.canviewreports && completedCount > 0"
|
||||||
detail="true" [button]="access.canviewreports && completedCount > 0">
|
[button]="access.canviewreports && completedCount > 0">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<h2>{{ 'addon.mod_feedback.completed_feedbacks' | translate }}</h2>
|
<h2>{{ 'addon.mod_feedback.completed_feedbacks' | translate }}</h2>
|
||||||
</ion-label>
|
</ion-label>
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
<!-- Template to render a list of conversations. -->
|
<!-- Template to render a list of conversations. -->
|
||||||
<ng-template #attemptsTemplate let-attempts="attempts">
|
<ng-template #attemptsTemplate let-attempts="attempts">
|
||||||
<!-- "Header" of the table -->
|
<!-- "Header" of the table -->
|
||||||
<ion-item class="ion-text-wrap addon-mod_h5pactivity-table-header hide-detail" detail="true">
|
<ion-item class="ion-text-wrap addon-mod_h5pactivity-table-header" [detail]="false">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<ion-row class="ion-align-items-center">
|
<ion-row class="ion-align-items-center">
|
||||||
<ion-col class="ion-text-center">#</ion-col>
|
<ion-col class="ion-text-center">#</ion-col>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<core-loading [hideUntil]="loaded">
|
<core-loading [hideUntil]="loaded">
|
||||||
<ion-list *ngIf="users.length">
|
<ion-list *ngIf="users.length">
|
||||||
<!-- "Header" of the table -->
|
<!-- "Header" of the table -->
|
||||||
<ion-item class="addon-mod_h5pactivity-table-header hide-detail font-bold" detail="true">
|
<ion-item class="addon-mod_h5pactivity-table-header font-bold" [detail]="false">
|
||||||
<ion-label>
|
<ion-label>
|
||||||
<ion-row class="ion-align-items-center">
|
<ion-row class="ion-align-items-center">
|
||||||
<ion-col class="ion-text-center" size="4">{{ 'core.user' | translate }}</ion-col>
|
<ion-col class="ion-text-center" size="4">{{ 'core.user' | translate }}</ion-col>
|
||||||
|
|
|
@ -1257,11 +1257,6 @@ ion-datetime.datetime-disabled {
|
||||||
opacity: .8 !important;
|
opacity: .8 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hide details on items to align badges.
|
|
||||||
ion-item.hide-detail {
|
|
||||||
--detail-icon-opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Make links clickable when inside radio or checkbox items. Style part.
|
// Make links clickable when inside radio or checkbox items. Style part.
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
ion-item.item-multiple-inputs:hover::part(native) {
|
ion-item.item-multiple-inputs:hover::part(native) {
|
||||||
|
|
Loading…
Reference in New Issue