Page MenuHomePhorge

D25022.1741349803.diff
No OneTemporary

D25022.1741349803.diff

diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php
--- a/src/applications/phame/controller/post/PhamePostViewController.php
+++ b/src/applications/phame/controller/post/PhamePostViewController.php
@@ -163,12 +163,18 @@
$prev->getBestURI($is_live, $is_external));
}
+ $monogram = $post->getMonogram();
+
$document->setFoot($next_view);
$crumbs = $this->buildApplicationCrumbs();
$properties = phutil_tag_div('phui-document-view-pro-box', $properties);
+ $title = $viewer->isLoggedIn()
+ ? pht('%s %s', $monogram, $post->getTitle())
+ : $post->getTitle(); // Public viewers will not see the monogram
+
$page = $this->newPage()
- ->setTitle($post->getTitle())
+ ->setTitle($title)
->setPageObjectPHIDs(array($post->getPHID()))
->setCrumbs($crumbs)
->appendChild(

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 7, 12:16 (2 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1227042
Default Alt Text
D25022.1741349803.diff (944 B)

Event Timeline