Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3221246
D25022.1741820706.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
969 B
Referenced Files
None
Subscribers
None
D25022.1741820706.diff
View Options
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,19 @@
$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);
+ // Public viewers like search engines will not see the monogram
+ $title = $viewer->isLoggedIn()
+ ? pht('%s %s', $monogram, $post->getTitle())
+ : $post->getTitle();
+
$page = $this->newPage()
- ->setTitle($post->getTitle())
+ ->setTitle($title)
->setPageObjectPHIDs(array($post->getPHID()))
->setCrumbs($crumbs)
->appendChild(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 23:05 (3 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1251863
Default Alt Text
D25022.1741820706.diff (969 B)
Attached To
Mode
D25022: Add the Jxxx Monogram to Phame Post Tab Titles for logged-in users
Attached
Detach File
Event Timeline
Log In to Comment