From 6e7940cea2c7a4f89a8ac7e1e14f8a4e6f9543e0 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 5 Dec 2015 08:46:48 -0800 Subject: [PATCH] Minor Phame polish Summary: - Add Blogs crumb to posts - Tidy up post edit page copy Ref T9897 Test Plan: Review a Post, Edit Post Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9897 Differential Revision: https://secure.phabricator.com/D14677 --- .../phame/controller/post/PhamePostEditController.php | 3 +-- .../phame/controller/post/PhamePostViewController.php | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/applications/phame/controller/post/PhamePostEditController.php b/src/applications/phame/controller/post/PhamePostEditController.php index 2f7d8572de..a6bf1732fb 100644 --- a/src/applications/phame/controller/post/PhamePostEditController.php +++ b/src/applications/phame/controller/post/PhamePostEditController.php @@ -139,8 +139,7 @@ final class PhamePostEditController extends PhamePostController { ->setValue(rtrim($phame_title, '/')) ->setID('post-phame-title') ->setCaption(pht('Up to 64 alphanumeric characters '. - 'with underscores for spaces. '. - 'Formatting is enforced.')) + 'with underscores for spaces.')) ->setError($e_phame_title)) ->appendChild( id(new AphrontFormSelectControl()) diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php index 76b33f1b03..84b3c07f05 100644 --- a/src/applications/phame/controller/post/PhamePostViewController.php +++ b/src/applications/phame/controller/post/PhamePostViewController.php @@ -21,6 +21,9 @@ final class PhamePostViewController extends PhamePostController { $blog = $post->getBlog(); $crumbs = $this->buildApplicationCrumbs(); + $crumbs->addTextCrumb( + pht('Blogs'), + $this->getApplicationURI('blog/')); if ($blog) { $crumbs->addTextCrumb( $blog->getName(),