{{ goal.name }}

{{ 'GOALS_PAGE.SESSION' | translate }}: {{ goal.deadline }}

{{ goal.description?.trim() ? goal.description : ('GOALS_PAGE.NO_DESCRIPTION' | translate) }}

{{ 'GOALS_PAGE.PROGRESS' | translate }} {{ goal.progress }}%
@if (goal.keyResults.length == 0) {
{{ 'GOALS_PAGE.MESSAGE.NO_KEY_RESULT' | translate }}
} @else {
    @for (keyResult of goal.keyResults; track keyResult; let i = $index) {
  • {{ keyResult.name }} {{ keyResult.progress }}%
  • }
}
@if (updates.length == 0) {
{{ 'GOALS_PAGE.MESSAGE.NO_UPDATES' | translate }}
} @else {
    @for (update of updates; track update) {
  • {{ update.createdAt | date }}
    {{ 'GOALS_PAGE.UPDATE' | translate }}: {{ update.update }} @if (update.status) { {{ update.status }} } {{ 'GOALS_PAGE.PROGRESS' | translate }}: {{ update.progress }}%
  • }
}
@if (!goal.alignedKeyResult) {
{{ 'GOALS_PAGE.MESSAGE.NO_ALIGNMENT' | translate }}
} @else {
  • {{ goal.alignedKeyResult.goal.name }} {{ goal.alignedKeyResult.goal.progress }}%
  • {{ goal.alignedKeyResult.name }} {{ goal.alignedKeyResult.progress }}%
  • {{ goal.name }} {{ goal.progress }}%
}