Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | public function render() { | ||||
if ($is_preview) { | if ($is_preview) { | ||||
$sigil = $sigil.' differential-inline-comment-preview'; | $sigil = $sigil.' differential-inline-comment-preview'; | ||||
$classes[] = 'inline-comment-preview'; | $classes[] = 'inline-comment-preview'; | ||||
} else { | } else { | ||||
$classes[] = 'inline-comment-element'; | $classes[] = 'inline-comment-element'; | ||||
} | } | ||||
$content = $inline->getContent(); | |||||
$handles = $this->handles; | $handles = $this->handles; | ||||
$links = array(); | $links = array(); | ||||
$draft_text = null; | $draft_text = null; | ||||
if (!$is_synthetic) { | if (!$is_synthetic) { | ||||
// This display is controlled by CSS | // This display is controlled by CSS | ||||
$draft_text = id(new PHUITagView()) | $draft_text = id(new PHUITagView()) | ||||
▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines |