@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.

Correctly display event id and sequence in crumb and page title on eventviewcontroller

Summary: Fixes T8459, Correctly display event id and sequence in crumb and page title on eventviewcontroller

Test Plan: Open `E111/3`, crumb and title should display '`E111 (3)`' instead of '`E111`'.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8459

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

+12 -5
+12 -5
src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
··· 46 46 } else if ($sequence) { 47 47 return new Aphront404Response(); 48 48 } 49 + 50 + $title = $event->getMonogram().' ('.$sequence.')'; 51 + $page_title = $title.' '.$event->getName(); 52 + $crumbs = $this->buildApplicationCrumbs(); 53 + $crumbs->addTextCrumb($title, '/'.$event->getMonogram().'/'.$sequence); 54 + 55 + 56 + } else { 57 + $title = 'E'.$event->getID(); 58 + $page_title = $title.' '.$event->getName(); 59 + $crumbs = $this->buildApplicationCrumbs(); 60 + $crumbs->addTextCrumb($title, '/E'.$event->getID()); 49 61 } 50 - 51 - $title = 'E'.$event->getID(); 52 - $page_title = $title.' '.$event->getName(); 53 - $crumbs = $this->buildApplicationCrumbs(); 54 - $crumbs->addTextCrumb($title, '/E'.$event->getID()); 55 62 56 63 $timeline = $this->buildTransactionTimeline( 57 64 $event,