Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/controller/PhabricatorFileViewController.php
Show First 20 Lines • Show All 304 Lines • ▼ Show 20 Lines | if ($engine && $engine->isChunkEngine()) { | ||||
} | } | ||||
} | } | ||||
$finfo->addProperty(pht('Storage Format'), $format_name); | $finfo->addProperty(pht('Storage Format'), $format_name); | ||||
$finfo->addProperty( | $finfo->addProperty( | ||||
pht('Storage Handle'), | pht('Storage Handle'), | ||||
$file->getStorageHandle()); | $file->getStorageHandle()); | ||||
$custom_alt = $file->getCustomAltText(); | |||||
if (strlen($custom_alt)) { | |||||
$finfo->addProperty(pht('Custom Alt Text'), $custom_alt); | |||||
} | |||||
$default_alt = $file->getDefaultAltText(); | |||||
if (strlen($default_alt)) { | |||||
$finfo->addProperty(pht('Default Alt Text'), $default_alt); | |||||
} | |||||
$phids = $file->getObjectPHIDs(); | $phids = $file->getObjectPHIDs(); | ||||
if ($phids) { | if ($phids) { | ||||
$attached = new PHUIPropertyListView(); | $attached = new PHUIPropertyListView(); | ||||
$tab_group->addTab( | $tab_group->addTab( | ||||
id(new PHUITabView()) | id(new PHUITabView()) | ||||
->setName(pht('Attached')) | ->setName(pht('Attached')) | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |