Page MenuHomePhabricator

D8691.id.diff
No OneTemporary

D8691.id.diff

diff --git a/src/applications/differential/controller/DifferentialRevisionViewController.php b/src/applications/differential/controller/DifferentialRevisionViewController.php
--- a/src/applications/differential/controller/DifferentialRevisionViewController.php
+++ b/src/applications/differential/controller/DifferentialRevisionViewController.php
@@ -420,6 +420,7 @@
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb($object_id, '/'.$object_id);
+ $crumbs->setActionList($revision_detail->getActionList());
$prefs = $user->loadPreferences();
diff --git a/src/applications/differential/view/DifferentialRevisionDetailView.php b/src/applications/differential/view/DifferentialRevisionDetailView.php
--- a/src/applications/differential/view/DifferentialRevisionDetailView.php
+++ b/src/applications/differential/view/DifferentialRevisionDetailView.php
@@ -7,6 +7,7 @@
private $customFields;
private $diff;
private $uri;
+ private $actionList;
public function setURI($uri) {
$this->uri = $uri;
@@ -37,6 +38,15 @@
return $this->actions;
}
+ public function setActionList(PhabricatorActionListView $list) {
+ $this->actionList = $list;
+ return $this;
+ }
+
+ public function getActionList() {
+ return $this->actionList;
+ }
+
public function setCustomFields(PhabricatorCustomFieldList $list) {
$this->customFields = $list;
return $this;
@@ -95,6 +105,7 @@
$properties->setHasKeyboardShortcuts(true);
$properties->setActionList($actions);
+ $this->setActionList($actions);
$field_list = $this->customFields;
if ($field_list) {

File Metadata

Mime Type
text/plain
Expires
Oct 19 2024, 8:52 AM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710770
Default Alt Text
D8691.id.diff (1 KB)

Event Timeline