1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +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)
->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')));