Differential D19654 Diff 46984 src/applications/transactions/response/PhabricatorApplicationTransactionResponse.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/response/PhabricatorApplicationTransactionResponse.php
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | public function reduceProxyResponse() { | ||||
} | } | ||||
// Force whatever the underlying views built to render into HTML for | // Force whatever the underlying views built to render into HTML for | ||||
// the Javascript. | // the Javascript. | ||||
foreach ($xactions as $key => $xaction) { | foreach ($xactions as $key => $xaction) { | ||||
$xactions[$key] = hsprintf('%s', $xaction); | $xactions[$key] = hsprintf('%s', $xaction); | ||||
} | } | ||||
$aural = phutil_tag( | |||||
'h3', | |||||
array( | |||||
'class' => 'aural-only', | |||||
), | |||||
pht('Comment Preview')); | |||||
$content = array( | $content = array( | ||||
'header' => hsprintf('%s', $aural), | |||||
'xactions' => $xactions, | 'xactions' => $xactions, | ||||
'spacer' => PHUITimelineView::renderSpacer(), | 'spacer' => PHUITimelineView::renderSpacer(), | ||||
'previewContent' => hsprintf('%s', $this->getPreviewContent()), | 'previewContent' => hsprintf('%s', $this->getPreviewContent()), | ||||
); | ); | ||||
return $this->getProxy()->setContent($content); | return $this->getProxy()->setContent($content); | ||||
} | } | ||||
} | } |