@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Ref T6049, Phurl object view should always display some sort of header.

Summary: Ref T6049, Phurl object view should display Phurl name or Phurl long url as header.

Test Plan:
- Create Phurl with no name. Header should show long url as header.
- Add name to Phurl. Header should be new Phurl name.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Maniphest Tasks: T6049

Differential Revision: https://secure.phabricator.com/D14502

+2 -2
+1 -1
src/applications/phurl/controller/PhabricatorPhurlURLViewController.php
··· 79 79 80 80 $header = id(new PHUIHeaderView()) 81 81 ->setUser($viewer) 82 - ->setHeader($url->getName()) 82 + ->setHeader($url->getDisplayName()) 83 83 ->setStatus($icon, $color, $status) 84 84 ->setPolicyObject($url); 85 85
+1 -1
src/applications/phurl/storage/PhabricatorPhurlURL.php
··· 83 83 if ($this->getName()) { 84 84 return $this->getName(); 85 85 } else { 86 - return $this->getMonogram(); 86 + return $this->getLongURL(); 87 87 } 88 88 } 89 89