From 23bb1eeec0e24a94fac70cf92fdd1e1ddbb1b3be Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 9 Dec 2015 11:19:55 -0800 Subject: [PATCH] Minor tweaks to PhamePostView Summary: Better Icon? Text? Ref T9897 Test Plan: see new icon and text Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9897 Differential Revision: https://secure.phabricator.com/D14723 --- .../controller/post/PhamePostViewController.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php index c3a1da5026..5ff4da2ab9 100644 --- a/src/applications/phame/controller/post/PhamePostViewController.php +++ b/src/applications/phame/controller/post/PhamePostViewController.php @@ -65,9 +65,8 @@ final class PhamePostViewController extends PhamePostController { ->setSeverity(PHUIInfoView::SEVERITY_NOTICE) ->setTitle(pht('Draft Post')) ->appendChild( - pht( - 'Only you can see this draft until you publish it. '. - 'Use "Preview or Publish" to publish this post.'))); + pht('Only you can see this draft until you publish it. '. + 'Use "Preview" or "Publish" to publish this post.'))); } if (!$post->getBlog()) { @@ -76,9 +75,8 @@ final class PhamePostViewController extends PhamePostController { ->setSeverity(PHUIInfoView::SEVERITY_WARNING) ->setTitle(pht('Not On A Blog')) ->appendChild( - pht( - 'This post is not associated with a blog (the blog may have '. - 'been deleted). Use "Move Post" to move it to a new blog.'))); + pht('This post is not associated with a blog (the blog may have '. + 'been deleted). Use "Move Post" to move it to a new blog.'))); } $engine = id(new PhabricatorMarkupEngine()) @@ -197,7 +195,7 @@ final class PhamePostViewController extends PhamePostController { ->setWorkflow(true)); $actions->addAction( id(new PhabricatorActionView()) - ->setIcon('fa-eye') + ->setIcon('fa-desktop') ->setHref($this->getApplicationURI('post/preview/'.$id.'/')) ->setDisabled(!$can_edit) ->setName(pht('Preview in Skin')));