Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15413579
D15713.id.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
D15713.id.diff
View Options
diff --git a/src/applications/phurl/controller/PhabricatorPhurlURLViewController.php b/src/applications/phurl/controller/PhabricatorPhurlURLViewController.php
--- a/src/applications/phurl/controller/PhabricatorPhurlURLViewController.php
+++ b/src/applications/phurl/controller/PhabricatorPhurlURLViewController.php
@@ -114,7 +114,7 @@
$curtain
->addAction(
id(new PhabricatorActionView())
- ->setName(pht('Edit'))
+ ->setName(pht('Edit Phurl'))
->setIcon('fa-pencil')
->setHref($this->getApplicationURI("url/edit/{$id}/"))
->setDisabled(!$can_edit)
diff --git a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
--- a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
+++ b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
@@ -44,8 +44,8 @@
protected function getBuiltinQueryNames() {
$names = array(
- 'authored' => pht('Authored'),
'all' => pht('All URLs'),
+ 'authored' => pht('Authored'),
);
return $names;
@@ -77,10 +77,16 @@
$handles = $viewer->loadHandles(mpull($urls, 'getAuthorPHID'));
foreach ($urls as $url) {
+ $name = $url->getName();
+
$item = id(new PHUIObjectItemView())
->setUser($viewer)
->setObject($url)
- ->setHeader($viewer->renderHandle($url->getPHID()));
+ ->setObjectName('U'.$url->getID())
+ ->setHeader($name)
+ ->setHref('/U'.$url->getID())
+ ->addAttribute($url->getAlias())
+ ->addAttribute($url->getLongURL());
$list->addItem($item);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 7:46 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223765
Default Alt Text
D15713.id.diff (1 KB)
Attached To
Mode
D15713: Minor quality of life updates to Phurl
Attached
Detach File
Event Timeline
Log In to Comment