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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user