Merge pull request #3686 from NoelDeMartin/MOBILE-4270

MOBILE-4270: Glossary & competency tweaks
main
Dani Palou 2023-05-24 09:47:39 +02:00 committed by GitHub
commit efd6bbd568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ export class AddonCompetencyCourseCompetenciesPage implements OnInit, OnDestroy
* @param competencyId Competency Id. * @param competencyId Competency Id.
*/ */
openCompetencySummary(competencyId: number): void { openCompetencySummary(competencyId: number): void {
CoreNavigator.navigateToSitePath( CoreNavigator.navigate(
`./${competencyId}/${ADDON_COMPETENCY_SUMMARY_PAGE}`, `./${competencyId}/${ADDON_COMPETENCY_SUMMARY_PAGE}`,
{ {
params: { params: {

View File

@ -37,14 +37,14 @@
<h2 class="big">{{ 'addon.mod_glossary.entriestobesynced' | translate }}</h2> <h2 class="big">{{ 'addon.mod_glossary.entriestobesynced' | translate }}</h2>
</ion-label> </ion-label>
</ion-item-divider> </ion-item-divider>
<ion-item *ngFor="let entry of entries.offlineEntries" (click)="entries.select(entry)" detail="false" button <ion-item *ngFor="let entry of entries.offlineEntries" (click)="entries.select(entry)" button
[attr.aria-current]="entries.getItemAriaCurrent(entry)"> [attr.aria-current]="entries.getItemAriaCurrent(entry)">
<ion-label> <ion-label>
<div class="addon-mod-glossary-index--offline-entry"> <div class="addon-mod-glossary-index--offline-entry">
<ion-icon name="fas-clock" class="ion-margin-end" [attr.aria-label]="'core.notsent' | translate"></ion-icon>
<core-format-text [text]="entry.concept" contextLevel="module" [contextInstanceId]="glossary!.coursemodule" <core-format-text [text]="entry.concept" contextLevel="module" [contextInstanceId]="glossary!.coursemodule"
[courseId]="courseId"> [courseId]="courseId">
</core-format-text> </core-format-text>
<ion-icon name="fas-rotate" class="ion-margin-start" aria-hidden="true"></ion-icon>
</div> </div>
</ion-label> </ion-label>
</ion-item> </ion-item>
@ -58,7 +58,7 @@
</ion-label> </ion-label>
</ion-item-divider> </ion-item-divider>
<ion-item button (click)="entries.select(entry)" [attr.aria-current]="entries.getItemAriaCurrent(entry)" detail="false"> <ion-item button (click)="entries.select(entry)" [attr.aria-current]="entries.getItemAriaCurrent(entry)">
<ion-label> <ion-label>
<core-format-text [text]="entry.concept" contextLevel="module" [contextInstanceId]="glossary!.coursemodule" <core-format-text [text]="entry.concept" contextLevel="module" [contextInstanceId]="glossary!.coursemodule"
[courseId]="courseId"> [courseId]="courseId">