Add ImageView to PropertyListView

Summary: Adds imageview (dark background) to Files and Macro.

Test Plan: Test a file and a macro, see darkness.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5131
This commit is contained in:
Chad Little
2013-02-26 16:37:45 -08:00
parent 40d453d6aa
commit 82e41e7fa1
5 changed files with 22 additions and 7 deletions

View File

@@ -146,9 +146,6 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
if ($file->isViewableImage()) {
// TODO: Clean this up after Pholio (dark backgrounds, standardization,
// etc.)
$image = phutil_tag(
'img',
array(
@@ -163,7 +160,7 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
),
$image);
$view->addTextContent($linked_image);
$view->addImageContent($linked_image);
}
return $view;