Differential D7787 Diff 17644 src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php
Show All 17 Lines | foreach ($channels as $channel) { | ||||
->setHref('/chatlog/channel/'.$channel->getID().'/') | ->setHref('/chatlog/channel/'.$channel->getID().'/') | ||||
->addAttribute($channel->getServiceName()) | ->addAttribute($channel->getServiceName()) | ||||
->addAttribute($channel->getServiceType()); | ->addAttribute($channel->getServiceType()); | ||||
$list->addItem($item); | $list->addItem($item); | ||||
} | } | ||||
$crumbs = $this | $crumbs = $this | ||||
->buildApplicationCrumbs() | ->buildApplicationCrumbs() | ||||
->addCrumb( | ->addTextCrumb(pht('Channel List'), $this->getApplicationURI()); | ||||
id(new PhabricatorCrumbView()) | |||||
->setName(pht('Channel List')) | |||||
->setHref($this->getApplicationURI())); | |||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$list, | $list, | ||||
), | ), | ||||
array( | array( | ||||
'title' => pht('Channel List'), | 'title' => pht('Channel List'), | ||||
'device' => true, | 'device' => true, | ||||
)); | )); | ||||
} | } | ||||
} | } |