Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceController.php
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | if ($id) { | ||||
$header->setImageURL( | $header->setImageURL( | ||||
$this->getApplicationURI("picture/{$id}/")); | $this->getApplicationURI("picture/{$id}/")); | ||||
} | } | ||||
$participating = $conpherence->getParticipantIfExists($viewer->getPHID()); | $participating = $conpherence->getParticipantIfExists($viewer->getPHID()); | ||||
$header->addActionItem( | $header->addActionItem( | ||||
id(new PHUIIconCircleView()) | id(new PHUIIconCircleView()) | ||||
->setHref($this->getApplicationURI("update/{$id}/")) | ->setHref( | ||||
$this->getApplicationURI('edit/'.$conpherence->getID()).'/') | |||||
->setIcon('fa-pencil') | ->setIcon('fa-pencil') | ||||
->addClass('hide-on-device') | ->addClass('hide-on-device') | ||||
->setColor('violet') | ->setColor('violet') | ||||
->setWorkflow(true)); | ->setWorkflow(true)); | ||||
$header->addActionItem( | $header->addActionItem( | ||||
id(new PHUIIconCircleView()) | id(new PHUIIconCircleView()) | ||||
->setHref($this->getApplicationURI("preferences/{$id}/")) | ->setHref($this->getApplicationURI("preferences/{$id}/")) | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |