Changeset View
Changeset View
Standalone View
Standalone View
src/view/layout/PhabricatorTransactionView.php
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | public function render() { | ||||
$header = phutil_tag_div( | $header = phutil_tag_div( | ||||
'phabricator-transaction-header grouped', | 'phabricator-transaction-header grouped', | ||||
array($actions, $info)); | array($actions, $info)); | ||||
return phutil_tag( | return phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'class' => 'phabricator-transaction-view', | 'class' => 'phabricator-transaction-view '.$classes, | ||||
'id' => $transaction_id, | 'id' => $transaction_id, | ||||
'style' => $style, | 'style' => $style, | ||||
), | ), | ||||
phutil_tag_div( | phutil_tag_div( | ||||
'phabricator-transaction-detail '.$classes, | 'phabricator-transaction-detail grouped', | ||||
array($header, $content))); | array($header, $content))); | ||||
} | } | ||||
private function renderTransactionInfo() { | private function renderTransactionInfo() { | ||||
$info = array(); | $info = array(); | ||||
if ($this->contentSource) { | if ($this->contentSource) { | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |