Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15426654
D16142.id38837.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16142.id38837.diff
View Options
diff --git a/src/applications/phame/controller/blog/PhameBlogManageController.php b/src/applications/phame/controller/blog/PhameBlogManageController.php
--- a/src/applications/phame/controller/blog/PhameBlogManageController.php
+++ b/src/applications/phame/controller/blog/PhameBlogManageController.php
@@ -32,12 +32,19 @@
$picture = $blog->getProfileImageURI();
+ $view = id(new PHUIButtonView())
+ ->setTag('a')
+ ->setText(pht('View Live'))
+ ->setIcon('fa-external-link')
+ ->setHref($blog->getLiveURI());
+
$header = id(new PHUIHeaderView())
->setHeader($blog->getName())
->setUser($viewer)
->setPolicyObject($blog)
->setImage($picture)
- ->setStatus($header_icon, $header_color, $header_name);
+ ->setStatus($header_icon, $header_color, $header_name)
+ ->addActionLink($view);
$curtain = $this->buildCurtain($blog);
$properties = $this->buildPropertyView($blog);
@@ -48,7 +55,9 @@
pht('Blogs'),
$this->getApplicationURI('blog/'));
$crumbs->addTextCrumb(
- $blog->getName());
+ $blog->getName(),
+ $this->getApplicationURI('blog/view/'.$id));
+ $crumbs->addTextCrumb(pht('Manage Blog'));
$crumbs->setBorder(true);
$object_box = id(new PHUIObjectBoxView())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 24, 10:15 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7684912
Default Alt Text
D16142.id38837.diff (1 KB)
Attached To
Mode
D16142: More links on Blog manage page
Attached
Detach File
Event Timeline
Log In to Comment