Page MenuHomePhabricator

D15713.id.diff
No OneTemporary

D15713.id.diff

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

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)

Event Timeline