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:
epriestley
2013-01-29 11:01:47 -08:00
parent caa7fcef58
commit 40547030a5
31 changed files with 102 additions and 104 deletions

View File

@@ -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);
}
}