Differential D19378 Diff 46358 src/applications/files/document/render/PhabricatorDocumentRenderingEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/document/render/PhabricatorDocumentRenderingEngine.php
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | $meta = array( | ||||
'name' => pht('Highlight As...'), | 'name' => pht('Highlight As...'), | ||||
'uri' => '/services/highlight/', | 'uri' => '/services/highlight/', | ||||
'value' => $highlight_setting, | 'value' => $highlight_setting, | ||||
), | ), | ||||
'blame' => array( | 'blame' => array( | ||||
'uri' => $ref->getBlameURI(), | 'uri' => $ref->getBlameURI(), | ||||
'value' => null, | 'value' => null, | ||||
), | ), | ||||
'coverage' => array( | |||||
'labels' => array( | |||||
// TODO: Modularize this properly, see T13125. | |||||
array( | |||||
'C' => pht('Covered'), | |||||
'U' => pht('Not Covered'), | |||||
'N' => pht('Not Executable'), | |||||
'X' => pht('Not Reachable'), | |||||
), | |||||
), | |||||
), | |||||
); | ); | ||||
$view_button = id(new PHUIButtonView()) | $view_button = id(new PHUIButtonView()) | ||||
->setTag('a') | ->setTag('a') | ||||
->setText(pht('View Options')) | ->setText(pht('View Options')) | ||||
->setIcon('fa-file-image-o') | ->setIcon('fa-file-image-o') | ||||
->setColor(PHUIButtonView::GREY) | ->setColor(PHUIButtonView::GREY) | ||||
->setID($control_id) | ->setID($control_id) | ||||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |