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.
*/
openCompetencySummary(competencyId: number): void {
CoreNavigator.navigateToSitePath(
CoreNavigator.navigate(
`./${competencyId}/${ADDON_COMPETENCY_SUMMARY_PAGE}`,
{
params: {

View File

@ -37,14 +37,14 @@
<h2 class="big">{{ 'addon.mod_glossary.entriestobesynced' | translate }}</h2>
</ion-label>
</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)">
<ion-label>
<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"
[courseId]="courseId">
</core-format-text>
<ion-icon name="fas-rotate" class="ion-margin-start" aria-hidden="true"></ion-icon>
</div>
</ion-label>
</ion-item>
@ -58,7 +58,7 @@
</ion-label>
</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>
<core-format-text [text]="entry.concept" contextLevel="module" [contextInstanceId]="glossary!.coursemodule"
[courseId]="courseId">