/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
core/templates/components/summary-tile/topic-summary-tile.component.html
31 строка
1 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
Код
Авторство
О чём код?
<div class="topic-card" [ngStyle]="{background: topicSummary.getThumbnailBgColor(), 'pointer-events': !isPublished ? 'none' : 'auto'}" [ngClass]="{'faded-topic-card': !isPublished}"> <a [href]="getTopicPageUrl()" class="e2e-test-topic-link"> <div class="topic-thumbnail"> <span class="topic-coming-soon" *ngIf="!isPublished"> {{ 'I18N_CLASSROOM_PAGE_COMING_SOON' | translate }} </span> <picture class="fx-row fx-main-center" [ngClass]="{'grayscale-effect': !isPublished, 'margin-top-offset': !isPublished}"> <img [src]="thumbnailUrl" alt="" class="img-thumbnail" [ngStyle]="{background: topicSummary.getThumbnailBgColor()}"> </picture> </div> <div class="topic-details" [ngStyle]="{'background-color': getDarkerThumbnailBgColor(), 'text-align': isLanguageRTL() ? 'right' : 'left'}" [ngClass]="{'mask-effect': !isPublished}"> <span class="topic-name e2e-test-topic-name" *ngIf="!isHackyTopicNameTranslationDisplayed()"> {{ topicSummary.getName() }} </span> <span class="topic-name e2e-test-topic-name" *ngIf="isHackyTopicNameTranslationDisplayed()"> {{ topicNameTranslationKey | translate }} </span> {{ topicSummary.getTotalPublishedNodeCount() }} <span [innerHTML]="'I18N_COUNT_OF_LESSONS' | translate: { lessonCountValue: topicSummary.getTotalPublishedNodeCount(), messageFormat: true }"> </span> </div> </a> </div>