public function getSecondaryActions() { if (!$this->Subject || !$this->ParentID) { return false; } $actions = parent::getSecondaryActions(); $actions->push(DashboardPanelAction::create($this->ViewAllLink(), sprintf(_t('Dashboard.VIEWALL', 'View all %s'), $this->SubjectPluralName()))); return $actions; }
public function getSecondaryActions() { $actions = parent::getSecondaryActions(); $actions->push(DashboardPanelAction::create($this->Link('processform'), "Post Blog")); return $actions; }