/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
core/templates/components/summary-tile/learner-topic-summary-tile.component.html
42 строки
2 KB
Aditya Lakhotia
Fix part of #25941: Clean up legacy embedded <style> tags from HTML templates removing inconsistency of next 30 files (part-2) (#26855)
24 июл 2026, 19:54
Не верифицирован
24 июл 2026, 19:54
5531df6
Код
Авторство
О чём код?
<ng-container> <mat-card *ngIf="!redesignFeatureFlag" class="oppia-topic-dashboard-card"> <a [href]="getTopicLink()" target="{{ openInNewWindow ? '_blank' : '_self' }}" class="oppia-topic-link"> <div class="oppia-title-section" [ngStyle]="{'background-color': thumbnailBgColor}"> <!-- We add an empty alt text so that the screen reader does not read the thumbnail image filename and ignores it as the thumbnail does not convey any significant information. --> <img alt="" class="oppia-thumbnail-image" [src]="thumbnailUrl"> </div> <div class="oppia-summary-section"> <span class="oppia-topic-title e2e-test-learner-topic-summary-tile-title"> {{ topicTitle }} </span> <div class="oppia-topic-lessons"> {{ totalPublishedNodeCount }} <span [innerHTML]="'I18N_COUNT_OF_LESSONS' | translate: { lessonCountValue: totalPublishedNodeCount, messageFormat: true }"> </span> </div> </div> </a> </mat-card> <a *ngIf="redesignFeatureFlag" class="e2e-test-learner-topic-summary-tile d-flex flex-column flex-shrink-0 oppia-class-card text-decoration-none" [href]="getTopicLink()" target="{{ openInNewWindow ? '_blank' : '_self' }}"> <div class="oppia-class-card-img rounded-top" [ngStyle]="{'background-color': thumbnailBgColor}"> <img alt="" class="h-100 oppia-thumbnail-image" [src]="thumbnailUrl"> </div> <div class="oppia-class-card-info"> <p class="mb-2 oppia-class-card-title e2e-test-learner-topic-summary-tile-title"> {{ topicTitle }} </p> <p class="oppia-class-card-text"> {{ totalPublishedNodeCount }} <span [innerHTML]="'I18N_COUNT_OF_LESSONS' | translate: { lessonCountValue: totalPublishedNodeCount, messageFormat: true }"></span> </p> </div> </a> </ng-container>