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

@@ -117,15 +117,12 @@ final class PonderQuestionViewController extends PonderController {
phabricator_datetime($question->getDateCreated(), $viewer));
if ($subscribers) {
foreach ($subscribers as $key => $subscriber) {
$subscribers[$key] = $this->getHandle($subscriber)->renderLink();
}
$subscribers = implode(', ', $subscribers);
$subscribers = $this->renderHandlesForPHIDs($subscribers);
}
$view->addProperty(
pht('Subscribers'),
nonempty($subscribers, '<em>'.pht('None').'</em>'));
nonempty($subscribers, phutil_tag('em', array(), pht('None'))));
return $view;
}