public function render(Varien_Object $row) { if ($row->isValidForSend()) { $actions[] = array('url' => $this->getUrl('*/newsletter_queue/edit', array('template_id' => $row->getId())), 'caption' => Mage::helper('newsletter')->__('Queue Newsletter...')); } $actions[] = array('url' => $this->getUrl('*/*/preview', array('id' => $row->getId())), 'popup' => true, 'caption' => Mage::helper('newsletter')->__('Preview')); $this->getColumn()->setActions($actions); return parent::render($row); }
public function render(Varien_Object $row) { if ($row->isValidForSend()) { $actions[] = array('url' => $this->getUrl('*/admin_queue/edit', array('campaign_id' => $row->getId())), 'caption' => Mage::helper('mzax_emarketing')->__('Queue Campaign...')); } $actions[] = array('url' => $this->getUrl('*/*/preview', array('campaign' => $row->getId())), 'popup' => true, 'caption' => Mage::helper('mzax_emarketing')->__('Preview')); $this->getColumn()->setActions($actions); return parent::render($row); }