' + + '' + + '' + escapeHtml(I18n.t('missions.runLabel', { number: index + 1 })) + '' + + ''; + + if (classification) { + html += '' + escapeHtml(classification) + ''; + } + if (isLatest) { + html += '' + escapeHtml(I18n.t('missions.latestRun')) + ''; + } + if (outcome) { + html += '' + escapeHtml(achieved ? I18n.t('missions.goalAchieved') : I18n.t('missions.openLoop')) + ''; + } + + html += ''; + + if (parsed.lead) { + html += '' + renderMissionRichBlock(parsed.lead, 'ms-approach-summary-copy') + ''; + } + + var fieldsHtml = ''; + fieldsHtml += renderApproachField(I18n.t('missions.expectedLabel'), parsed.fields.expected); + fieldsHtml += renderApproachField(I18n.t('missions.observedLabel'), parsed.fields.observed); + fieldsHtml += renderApproachField(I18n.t('missions.fixAppliedLabel'), parsed.fields.fix, 'full'); + fieldsHtml += renderApproachField(I18n.t('missions.nextFocusLabel'), parsed.fields.next); + fieldsHtml += renderApproachField(I18n.t('missions.outcomeLabel'), parsed.fields.outcome); + + if (fieldsHtml) { + html += '' + fieldsHtml + ''; + } else { + html += '' + renderMarkdown(entryText) + ''; + } + + html += '