Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/view/DiffusionView.php
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | if (isset($details['external'])) { | ||||
| $details + array( | $details + array( | ||||
| 'action' => 'browse', | 'action' => 'browse', | ||||
| 'path' => $path, | 'path' => $path, | ||||
| )); | )); | ||||
| $tip = pht('Browse'); | $tip = pht('Browse'); | ||||
| } | } | ||||
| $icon = DifferentialChangeType::getIconForFileType($file_type); | $icon = DifferentialChangeType::getIconForFileType($file_type); | ||||
| $icon_view = id(new PHUIIconView())->setIcon($icon); | $color = DifferentialChangeType::getIconColorForFileType($file_type); | ||||
| $icon_view = id(new PHUIIconView()) | |||||
| ->setIcon($icon.' '.$color); | |||||
| // If we're rendering a file or directory name, don't show the tooltip. | // If we're rendering a file or directory name, don't show the tooltip. | ||||
| if ($display_name !== null) { | if ($display_name !== null) { | ||||
| $sigil = null; | $sigil = null; | ||||
| $meta = null; | $meta = null; | ||||
| } else { | } else { | ||||
| $sigil = 'has-tooltip'; | $sigil = 'has-tooltip'; | ||||
| $meta = array( | $meta = array( | ||||
| ▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines | |||||