Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15315629
D19560.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
816 B
Referenced Files
None
Subscribers
None
D19560.diff
View Options
diff --git a/src/applications/phriction/controller/PhrictionDocumentController.php b/src/applications/phriction/controller/PhrictionDocumentController.php
--- a/src/applications/phriction/controller/PhrictionDocumentController.php
+++ b/src/applications/phriction/controller/PhrictionDocumentController.php
@@ -254,7 +254,8 @@
PhrictionContent $content,
$slug) {
- $viewer = $this->getRequest()->getUser();
+ $viewer = $this->getViewer();
+
$view = id(new PHUIPropertyListView())
->setUser($viewer)
->setObject($document);
@@ -263,6 +264,10 @@
pht('Last Author'),
$viewer->renderHandle($content->getAuthorPHID()));
+ $view->addProperty(
+ pht('Last Edited'),
+ phabricator_datetime($content->getDateCreated(), $viewer));
+
return $view;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 6:03 PM (2 w, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7341434
Default Alt Text
D19560.diff (816 B)
Attached To
Mode
D19560: Add a "Last Edited" property to Wiki pages
Attached
Detach File
Event Timeline
Log In to Comment