Ejemplo n.º 1
0
 protected function buildNavBar()
 {
     $this->navbar->popEntry();
     $title = $this->newsletter->getCampaignTitle();
     $link = sprintf('Newsletter/Details?id=%s', $this->newsletter->id);
     $this->navbar->createEntry($title, $link);
     $this->navbar->createEntry(Deliverance::_('Cancel Delivery'));
 }
Ejemplo n.º 2
0
 protected function buildNavBar()
 {
     parent::buildNavBar();
     if ($this->newsletter->id !== null) {
         $last = $this->navbar->popEntry();
         $title = $this->newsletter->getCampaignTitle();
         $link = sprintf('Newsletter/Details?id=%s', $this->newsletter->id);
         $this->navbar->createEntry($title, $link);
         $this->navbar->addEntry($last);
     }
 }
Ejemplo n.º 3
0
 protected function buildNavBar()
 {
     parent::buildNavBar();
     $this->navbar->createEntry($this->newsletter->getCampaignTitle());
 }