render_tag -> tag: PropertyListView
Summary: Converts callsites in PropertyListView (addDetail() and setTextContent()). Test Plan: Grepped for PhabricatorPropertyListView, addDetail() and setTextContent(). Reviewers: vrana Reviewed By: vrana CC: aran Maniphest Tasks: T2432 Differential Revision: https://secure.phabricator.com/D4695
This commit is contained in:
@@ -112,19 +112,19 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||
|
||||
$view->addProperty(
|
||||
pht('Mime Type'),
|
||||
phutil_escape_html($file->getMimeType()));
|
||||
$file->getMimeType());
|
||||
|
||||
$view->addProperty(
|
||||
pht('Engine'),
|
||||
phutil_escape_html($file->getStorageEngine()));
|
||||
$file->getStorageEngine());
|
||||
|
||||
$view->addProperty(
|
||||
pht('Format'),
|
||||
phutil_escape_html($file->getStorageFormat()));
|
||||
$file->getStorageFormat());
|
||||
|
||||
$view->addProperty(
|
||||
pht('Handle'),
|
||||
phutil_escape_html($file->getStorageHandle()));
|
||||
$file->getStorageHandle());
|
||||
|
||||
$metadata = $file->getMetadata();
|
||||
if (!empty($metadata)) {
|
||||
@@ -133,7 +133,7 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||
foreach ($metadata as $key => $value) {
|
||||
$view->addProperty(
|
||||
PhabricatorFile::getMetadataName($key),
|
||||
phutil_escape_html($value));
|
||||
$value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user