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:
parent
5977215437
commit
6e7940cea2
2 changed files with 4 additions and 2 deletions
|
@ -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())
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue