Differential D20197 Diff 48229 src/infrastructure/diff/view/PHUIDiffOneUpInlineCommentRowScaffold.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/view/PHUIDiffOneUpInlineCommentRowScaffold.php
Show All 12 Lines | public function render() { | ||||
if (count($inlines) != 1) { | if (count($inlines) != 1) { | ||||
throw new Exception( | throw new Exception( | ||||
pht('One-up inline row scaffold must have exactly one inline view!')); | pht('One-up inline row scaffold must have exactly one inline view!')); | ||||
} | } | ||||
$inline = head($inlines); | $inline = head($inlines); | ||||
$attrs = array( | $attrs = array( | ||||
'colspan' => 3, | 'colspan' => 3, | ||||
'class' => 'right3', | |||||
'id' => $inline->getScaffoldCellID(), | 'id' => $inline->getScaffoldCellID(), | ||||
); | ); | ||||
if ($inline->getIsOnRight()) { | if ($inline->getIsOnRight()) { | ||||
$left_hidden = null; | $left_hidden = null; | ||||
$right_hidden = $inline->newHiddenIcon(); | $right_hidden = $inline->newHiddenIcon(); | ||||
} else { | } else { | ||||
$left_hidden = $inline->newHiddenIcon(); | $left_hidden = $inline->newHiddenIcon(); | ||||
Show All 13 Lines |