Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/view/PHUIDiffInlineCommentDetailView.php
Show First 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | if ($this->editable && !$this->preview) { | ||||
->setMustCapture(true) | ->setMustCapture(true) | ||||
->setAuralLabel(pht('Delete')); | ->setAuralLabel(pht('Delete')); | ||||
} else if ($this->preview) { | } else if ($this->preview) { | ||||
$links[] = javelin_tag( | $links[] = javelin_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'class' => 'inline-button-divider pml msl', | 'class' => 'inline-button-divider pml msl', | ||||
'meta' => array( | 'meta' => array( | ||||
'anchor' => $anchor_name, | 'inlineCommentID' => $inline->getID(), | ||||
), | ), | ||||
'sigil' => 'differential-inline-preview-jump', | 'sigil' => 'differential-inline-preview-jump', | ||||
), | ), | ||||
pht('View')); | pht('View')); | ||||
$action_buttons[] = id(new PHUIButtonView()) | $action_buttons[] = id(new PHUIButtonView()) | ||||
->setTag('a') | ->setTag('a') | ||||
->setTooltip(pht('Delete')) | ->setTooltip(pht('Delete')) | ||||
->setIcon('fa-trash-o') | ->setIcon('fa-trash-o') | ||||
->addSigil('differential-inline-delete') | ->addSigil('differential-inline-delete') | ||||
▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines |