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:
parent
d9f188ee30
commit
23bb1eeec0
1 changed files with 5 additions and 7 deletions
|
@ -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')));
|
||||
|
|
Loading…
Reference in a new issue