public function getTitle()
 {
     $old = $this->getOldValue();
     $new = $this->getNewValue();
     $type = $this->getTransactionType();
     $author_phid = $this->getAuthorPHID();
     switch ($type) {
         case self::TYPE_QUEUE:
             return pht('%s routed this item to the %s queue.', $this->renderHandleLink($author_phid), $this->renderHandleLink($new));
     }
     return parent::getTitle();
 }
 public function getTitle()
 {
     $old = $this->getOldValue();
     $new = $this->getNewValue();
     $type = $this->getTransactionType();
     $author_phid = $this->getAuthorPHID();
     switch ($type) {
         case self::TYPE_NAME:
             return pht('%s renamed this queue from "%s" to "%s".', $this->renderHandleLink($author_phid), $old, $new);
     }
     return parent::getTitle();
 }
 public function getTitle()
 {
     $old = $this->getOldValue();
     $new = $this->getNewValue();
     $type = $this->getTransactionType();
     $author_phid = $this->getAuthorPHID();
     switch ($type) {
         case self::TYPE_DEFAULT_QUEUE:
             return pht('%s changed the default queue from %s to %s.', $this->renderHandleLink($author_phid), $this->renderHandleLink($old), $this->renderHandleLink($new));
         case self::TYPE_NAME:
             return pht('%s renamed this source from "%s" to "%s".', $this->renderHandleLink($author_phid), $old, $new);
     }
     return parent::getTitle();
 }
 public function getTitle()
 {
     $old = $this->getOldValue();
     $new = $this->getNewValue();
     $type = $this->getTransactionType();
     $author_phid = $this->getAuthorPHID();
     switch ($type) {
         case self::TYPE_QUEUE:
             return pht('%s routed this item to the %s queue.', $this->renderHandleLink($author_phid), $this->renderHandleLink($new));
         case self::TYPE_COMMAND:
             // TODO: Give item types a chance to render this properly.
             return pht('%s applied command "%s" to this item.', $this->renderHandleLink($author_phid), idx($new, 'command'));
     }
     return parent::getTitle();
 }