1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +01:00

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
This commit is contained in:
Chad Little 2015-12-09 11:19:55 -08:00
parent d9f188ee30
commit 23bb1eeec0

View file

@ -65,9 +65,8 @@ final class PhamePostViewController extends PhamePostController {
->setSeverity(PHUIInfoView::SEVERITY_NOTICE) ->setSeverity(PHUIInfoView::SEVERITY_NOTICE)
->setTitle(pht('Draft Post')) ->setTitle(pht('Draft Post'))
->appendChild( ->appendChild(
pht( pht('Only you can see this draft until you publish it. '.
'Only you can see this draft until you publish it. '. 'Use "Preview" or "Publish" to publish this post.')));
'Use "Preview or Publish" to publish this post.')));
} }
if (!$post->getBlog()) { if (!$post->getBlog()) {
@ -76,8 +75,7 @@ final class PhamePostViewController extends PhamePostController {
->setSeverity(PHUIInfoView::SEVERITY_WARNING) ->setSeverity(PHUIInfoView::SEVERITY_WARNING)
->setTitle(pht('Not On A Blog')) ->setTitle(pht('Not On A Blog'))
->appendChild( ->appendChild(
pht( pht('This post is not associated with a blog (the blog may have '.
'This post is not associated with a blog (the blog may have '.
'been deleted). Use "Move Post" to move it to a new blog.'))); 'been deleted). Use "Move Post" to move it to a new blog.')));
} }
@ -197,7 +195,7 @@ final class PhamePostViewController extends PhamePostController {
->setWorkflow(true)); ->setWorkflow(true));
$actions->addAction( $actions->addAction(
id(new PhabricatorActionView()) id(new PhabricatorActionView())
->setIcon('fa-eye') ->setIcon('fa-desktop')
->setHref($this->getApplicationURI('post/preview/'.$id.'/')) ->setHref($this->getApplicationURI('post/preview/'.$id.'/'))
->setDisabled(!$can_edit) ->setDisabled(!$can_edit)
->setName(pht('Preview in Skin'))); ->setName(pht('Preview in Skin')));