Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15354334
D16254.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
D16254.diff
View Options
diff --git a/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php b/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php
--- a/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php
+++ b/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php
@@ -15,9 +15,13 @@
$task = reset($tasks);
}
+ $header = new PHUIHeaderView();
+
if (!$task) {
$title = pht('Task Does Not Exist');
+ $header->setHeader(pht('Task %d Missing', $id));
+
$error_view = new PHUIInfoView();
$error_view->setTitle(pht('No Such Task'));
$error_view->appendChild(phutil_tag(
@@ -30,11 +34,11 @@
} else {
$title = pht('Task %d', $task->getID());
- $header = id(new PHUIHeaderView())
- ->setHeader(pht('Task %d: %s',
+ $header->setHeader(
+ pht(
+ 'Task %d: %s',
$task->getID(),
- $task->getTaskClass()))
- ->setHeaderIcon('fa-sort');
+ $task->getTaskClass()));
$properties = $this->buildPropertyListView($task);
@@ -59,6 +63,8 @@
);
}
+ $header->setHeaderIcon('fa-sort');
+
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb($title);
$crumbs->setBorder(true);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 12 2025, 3:27 AM (6 w, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7570788
Default Alt Text
D16254.diff (1 KB)
Attached To
Mode
D16254: Fix a fatal when viewing a daemon task with an invalid ID
Attached
Detach File
Event Timeline
Log In to Comment