/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
extensions/interactions/GraphInput/directives/graph-input-short-response.component.html
16 строк
839 B
Srijan Reddy
Fix part of #9749: Migrate graph interaction (#12090)
10 мар 2021, 08:26
Не верифицирован
10 мар 2021, 08:26
9a435c1
Код
Авторство
О чём код?
<!-- TODO(#12104): Replace this logic for the correct pluralize tool when there are more cases that justify the use of the library --> <div *ngIf="graph.edges"> <span [innerHTML]="'I18N_INTERACTIONS_GRAPH_RESPONSE_EDGES' | translate: { edges: graph.edges.length }" *ngIf="graph.edges.length != 1"> </span> <span [innerHTML]="'I18N_INTERACTIONS_GRAPH_RESPONSE_EDGE' | translate: { edges: graph.edges.length }" *ngIf="graph.edges.length == 1"> </span> <span> </span> <span [innerHTML]="'I18N_INTERACTIONS_GRAPH_RESPONSE_VERTICES' | translate: { vertices: graph.vertices.length }" *ngIf="graph.vertices.length != 1"> </span> <span [innerHTML]="'I18N_INTERACTIONS_GRAPH_RESPONSE_VERTEX' | translate: { vertices: graph.vertices.length }" *ngIf="graph.vertices.length == 1"> </span> </div>