mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +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, '/'))
|
->setValue(rtrim($phame_title, '/'))
|
||||||
->setID('post-phame-title')
|
->setID('post-phame-title')
|
||||||
->setCaption(pht('Up to 64 alphanumeric characters '.
|
->setCaption(pht('Up to 64 alphanumeric characters '.
|
||||||
'with underscores for spaces. '.
|
'with underscores for spaces.'))
|
||||||
'Formatting is enforced.'))
|
|
||||||
->setError($e_phame_title))
|
->setError($e_phame_title))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormSelectControl())
|
id(new AphrontFormSelectControl())
|
||||||
|
|
|
@ -21,6 +21,9 @@ final class PhamePostViewController extends PhamePostController {
|
||||||
$blog = $post->getBlog();
|
$blog = $post->getBlog();
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
|
$crumbs->addTextCrumb(
|
||||||
|
pht('Blogs'),
|
||||||
|
$this->getApplicationURI('blog/'));
|
||||||
if ($blog) {
|
if ($blog) {
|
||||||
$crumbs->addTextCrumb(
|
$crumbs->addTextCrumb(
|
||||||
$blog->getName(),
|
$blog->getName(),
|
||||||
|
|
Loading…
Reference in a new issue