@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.

More links on Blog manage page

Summary: Adds a view live and view internal link to the blog and crumbs manage page.

Test Plan: Click on new links.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+11 -2
+11 -2
src/applications/phame/controller/blog/PhameBlogManageController.php
··· 32 32 33 33 $picture = $blog->getProfileImageURI(); 34 34 35 + $view = id(new PHUIButtonView()) 36 + ->setTag('a') 37 + ->setText(pht('View Live')) 38 + ->setIcon('fa-external-link') 39 + ->setHref($blog->getLiveURI()); 40 + 35 41 $header = id(new PHUIHeaderView()) 36 42 ->setHeader($blog->getName()) 37 43 ->setUser($viewer) 38 44 ->setPolicyObject($blog) 39 45 ->setImage($picture) 40 - ->setStatus($header_icon, $header_color, $header_name); 46 + ->setStatus($header_icon, $header_color, $header_name) 47 + ->addActionLink($view); 41 48 42 49 $curtain = $this->buildCurtain($blog); 43 50 $properties = $this->buildPropertyView($blog); ··· 48 55 pht('Blogs'), 49 56 $this->getApplicationURI('blog/')); 50 57 $crumbs->addTextCrumb( 51 - $blog->getName()); 58 + $blog->getName(), 59 + $this->getApplicationURI('blog/view/'.$id)); 60 + $crumbs->addTextCrumb(pht('Manage Blog')); 52 61 $crumbs->setBorder(true); 53 62 54 63 $object_box = id(new PHUIObjectBoxView())