/**
  * @param bool $renderedInForm
  * @return A|string
  */
 protected function renderActionElementBar($renderedInForm)
 {
     $getData = GetUtil::getData();
     if (isset($getData['kanbanBoard']) && $getData['kanbanBoard'] == 1) {
         $isKanbanActive = true;
     } else {
         $isKanbanActive = false;
     }
     $toolbarContent = null;
     if (Yii::app()->userInterface->isMobile() === false) {
         $kanbanToggleLink = ZurmoDefaultViewUtil::renderActionBarLinksForKanbanBoard($this->controllerId, $this->moduleId, $this->modelId, $isKanbanActive);
         if ($isKanbanActive) {
             $content = parent::renderActionElementBar($renderedInForm) . $kanbanToggleLink;
         } else {
             $content = $kanbanToggleLink . $this->resolveAndRenderLockingLink($renderedInForm);
         }
         $content .= $this->resolveExtraToolbarContent();
         $toolbarContent = ZurmoHtml::tag('nav', array('class' => 'pillbox clearfix'), $content);
     }
     $toolbarContent = ZurmoHtml::tag('div', array('class' => 'view-toolbar-container widgets-lock clearfix '), $toolbarContent);
     return $toolbarContent;
 }
 protected function resolveShouldRenderActionBarLinksForKanbanBoard()
 {
     if ($this->shouldRenderActionBarLinksForKanbanBoard()) {
         return ZurmoDefaultViewUtil::renderActionBarLinksForKanbanBoard($this->controllerId, $this->params['relationModuleId'], (int) $this->params['relationModel']->id, true);
     }
 }