0) {
$fa_comment_icon = 'fa-comment-o';
$comment_icon = '' . $comment_number . '';
} else {
$fa_comment_icon = 'fa-comment';
$comment_icon = null;
}
$font_awesome_bar = '
' . ' ' .
'' . ' ' .
$this->use_multiaction($id, $status, $board) .
'' . ' ' .
'' . ' ' .
'
';
if ((user_can(wp_get_current_user(), 'transition_tasks')) && ($board != 'sprint')) {
$the_note = '';
} elseif ((user_can(wp_get_current_user(), 'transition_tasks')) && ($status != 'sendtosprint')) {
$the_note = '';
} else {
$the_note = '';
}
return $the_note;
}
private function use_multiaction($id = null, $status = null, $board = null)
{
//if ((in_array($status, array('sendtosprint')))) {
if ($status == 'sendtosprint') {
return ' ';
} else {
return "";
}
}
}