@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add a crumb to blog on Phame posts

Summary: Crumbies

Test Plan: View post, see blog link, click on crumb, see blog

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14449

authored by

Chad Little and committed by
chad
7fd6704f ada7d45a

+10 -2
+5 -2
src/applications/phame/controller/blog/PhameBlogViewController.php
··· 39 39 ->appendChild($post_list); 40 40 41 41 $crumbs = $this->buildApplicationCrumbs(); 42 - $crumbs->addTextCrumb(pht('Blogs'), $this->getApplicationURI('blog/')); 43 - $crumbs->addTextCrumb($blog->getName(), $this->getApplicationURI()); 42 + $crumbs->addTextCrumb( 43 + pht('Blogs'), 44 + $this->getApplicationURI('blog/')); 45 + $crumbs->addTextCrumb( 46 + $blog->getName()); 44 47 45 48 $object_box = id(new PHUIObjectBoxView()) 46 49 ->setHeader($header)
+5
src/applications/phame/controller/post/PhamePostViewController.php
··· 14 14 return new Aphront404Response(); 15 15 } 16 16 17 + $blog = $post->getBlog(); 18 + 17 19 $crumbs = $this->buildApplicationCrumbs(); 20 + $crumbs->addTextCrumb( 21 + $blog->getName(), 22 + $this->getApplicationURI('blog/view/'.$blog->getID().'/')); 18 23 $crumbs->addTextCrumb( 19 24 $post->getTitle(), 20 25 $this->getApplicationURI('post/view/'.$post->getID().'/'));