commit
0de4da6336
|
@ -1654,6 +1654,7 @@
|
||||||
"core.resourcedisplayopen": "moodle",
|
"core.resourcedisplayopen": "moodle",
|
||||||
"core.resources": "moodle",
|
"core.resources": "moodle",
|
||||||
"core.restore": "moodle",
|
"core.restore": "moodle",
|
||||||
|
"core.restricted": "moodle",
|
||||||
"core.retry": "local_moodlemobileapp",
|
"core.retry": "local_moodlemobileapp",
|
||||||
"core.save": "moodle",
|
"core.save": "moodle",
|
||||||
"core.search": "moodle",
|
"core.search": "moodle",
|
||||||
|
|
|
@ -31,12 +31,7 @@
|
||||||
<ion-icon name="information-circle"></ion-icon> {{ availabilityMessage }}
|
<ion-icon name="information-circle"></ion-icon> {{ availabilityMessage }}
|
||||||
</ion-card>
|
</ion-card>
|
||||||
|
|
||||||
<core-empty-box *ngIf="forum && discussions.length == 0" icon="chatbubbles" [message]="'addon.mod_forum.forumnodiscussionsyet' | translate" class="core-empty-box-clickable">
|
<core-empty-box *ngIf="forum && discussions.length == 0" icon="chatbubbles" [message]="'addon.mod_forum.forumnodiscussionsyet' | translate">
|
||||||
<div padding *ngIf="forum.cancreatediscussions">
|
|
||||||
<button ion-button block (click)="openNewDiscussion()">
|
|
||||||
{{ 'addon.mod_forum.addanewdiscussion' | translate }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</core-empty-box>
|
</core-empty-box>
|
||||||
|
|
||||||
<div text-wrap *ngIf="sortingAvailable && selectedSortOrder" ion-row padding-horizontal padding-top margin-bottom>
|
<div text-wrap *ngIf="sortingAvailable && selectedSortOrder" ion-row padding-horizontal padding-top margin-bottom>
|
||||||
|
|
|
@ -1654,6 +1654,7 @@
|
||||||
"core.resourcedisplayopen": "Open",
|
"core.resourcedisplayopen": "Open",
|
||||||
"core.resources": "Resources",
|
"core.resources": "Resources",
|
||||||
"core.restore": "Restore",
|
"core.restore": "Restore",
|
||||||
|
"core.restricted": "Restricted",
|
||||||
"core.retry": "Retry",
|
"core.retry": "Retry",
|
||||||
"core.save": "Save",
|
"core.save": "Save",
|
||||||
"core.search": "Search",
|
"core.search": "Search",
|
||||||
|
|
|
@ -19,13 +19,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="core-module-more-info">
|
||||||
<ion-badge item-end *ngIf="module.handlerData.extraBadge" [color]="module.handlerData.extraBadgeColor" text-wrap text-start>
|
<ion-badge item-end *ngIf="module.handlerData.extraBadge" [color]="module.handlerData.extraBadgeColor" text-wrap text-start>
|
||||||
<core-format-text [text]="module.handlerData.extraBadge"></core-format-text>
|
<core-format-text [text]="module.handlerData.extraBadge"></core-format-text>
|
||||||
</ion-badge>
|
</ion-badge>
|
||||||
<ion-badge item-end *ngIf="module.visible === 0 && (!section || section.visible)" text-wrap>{{ 'core.course.hiddenfromstudents' | translate }}</ion-badge>
|
<ion-badge item-end *ngIf="module.visible === 0 && (!section || section.visible)" text-wrap>{{ 'core.course.hiddenfromstudents' | translate }}</ion-badge>
|
||||||
<ion-badge item-end *ngIf="module.visible !== 0 && module.isStealth" text-wrap>{{ 'core.course.hiddenoncoursepage' | translate }}</ion-badge>
|
<ion-badge item-end *ngIf="module.visible !== 0 && module.isStealth" text-wrap>{{ 'core.course.hiddenoncoursepage' | translate }}</ion-badge>
|
||||||
<ion-badge item-end *ngIf="module.availabilityinfo" text-wrap><core-format-text [text]="module.availabilityinfo"></core-format-text></ion-badge>
|
<div class="core-module-availabilityinfo" *ngIf="module.availabilityinfo" item-end>
|
||||||
|
<ion-badge text-wrap>{{ 'core.restricted' | translate }}</ion-badge>
|
||||||
|
<core-format-text [text]="module.availabilityinfo" text-wrap></core-format-text>
|
||||||
|
</div>
|
||||||
<ion-badge item-end *ngIf="module.completiondata && module.completiondata.offline" color="warning" text-wrap>{{ 'core.course.manualcompletionnotsynced' | translate }}</ion-badge>
|
<ion-badge item-end *ngIf="module.completiondata && module.completiondata.offline" color="warning" text-wrap>{{ 'core.course.manualcompletionnotsynced' | translate }}</ion-badge>
|
||||||
</div>
|
</div>
|
||||||
<core-format-text class="core-module-description" *ngIf="module.description" maxHeight="80" [text]="module.description"></core-format-text>
|
<core-format-text class="core-module-description" *ngIf="module.description" maxHeight="80" [text]="module.description"></core-format-text>
|
||||||
|
|
|
@ -51,6 +51,19 @@ ion-app.app-root core-course-module {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.core-module-more-info {
|
||||||
|
ion-badge {
|
||||||
|
@include text-align('start');
|
||||||
|
}
|
||||||
|
|
||||||
|
.core-module-availabilityinfo {
|
||||||
|
font-size: 90%;
|
||||||
|
ul {
|
||||||
|
margin-block-start: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.core-not-clickable:active,
|
.core-not-clickable:active,
|
||||||
.core-not-clickable.activated {
|
.core-not-clickable.activated {
|
||||||
background-color: $list-background-color;
|
background-color: $list-background-color;
|
||||||
|
|
|
@ -10,6 +10,6 @@ ion-app.app-root page-core-course-section-selector {
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-badge {
|
ion-badge {
|
||||||
text-align: left;
|
@include text-align('start');
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -202,6 +202,7 @@
|
||||||
"resourcedisplayopen": "Open",
|
"resourcedisplayopen": "Open",
|
||||||
"resources": "Resources",
|
"resources": "Resources",
|
||||||
"restore": "Restore",
|
"restore": "Restore",
|
||||||
|
"restricted": "Restricted",
|
||||||
"retry": "Retry",
|
"retry": "Retry",
|
||||||
"save": "Save",
|
"save": "Save",
|
||||||
"search": "Search",
|
"search": "Search",
|
||||||
|
|
Loading…
Reference in New Issue