Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
Show First 20 Lines • Show All 444 Lines • ▼ Show 20 Lines | $markup = javelin_tag( | ||||
$group_left, | $group_left, | ||||
$group_right, | $group_right, | ||||
)), | )), | ||||
phutil_tag_div( | phutil_tag_div( | ||||
'differential-inline-comment-content', | 'differential-inline-comment-content', | ||||
phutil_tag_div('phabricator-remarkup', $content)), | phutil_tag_div('phabricator-remarkup', $content)), | ||||
)); | )); | ||||
return $markup; | $summary = phutil_tag( | ||||
'div', | |||||
array( | |||||
'class' => 'differential-inline-summary', | |||||
), | |||||
// TODO: Render something a little more useful here as a hint about the | |||||
// inline content, like "alincoln: first line of text...". | |||||
pht('...')); | |||||
return array( | |||||
$markup, | |||||
$summary, | |||||
); | |||||
} | } | ||||
private function canHide() { | private function canHide() { | ||||
$inline = $this->inlineComment; | $inline = $this->inlineComment; | ||||
if ($inline->isDraft()) { | if ($inline->isDraft()) { | ||||
return false; | return false; | ||||
} | } | ||||
Show All 18 Lines |