1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

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
This commit is contained in:
Chad Little 2015-12-05 08:46:48 -08:00
parent 5977215437
commit 6e7940cea2
2 changed files with 4 additions and 2 deletions

View file

@ -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())

View file

@ -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(),