예제 #1
0
        ?>
	<td class="mini"><?php 
        echo $info;
        ?>
</td>
	<td class="mini"><?php 
        if (!$params->get('grant_approval') && $params->get('grant_status', 0) == 0) {
            echo '<span class="italic pending">' . Lang::txt('COM_PROJECTS_STATUS_PENDING_SPS') . '</span>';
        } else {
            if ($params->get('grant_approval') || $params->get('grant_status') == 1) {
                echo '<span class="active green">' . Lang::txt('COM_PROJECTS_APPROVAL_CODE') . ': ' . $params->get('grant_approval', '(N/A)') . '</span>';
            } else {
                if ($params->get('grant_status') == '2') {
                    echo '<span class="italic dark">' . Lang::txt('COM_PROJECTS_STATUS_SPS_REJECTED') . '</span>';
                }
            }
        }
        if ($this->row->get('admin_notes')) {
            echo \Components\Projects\Helpers\Html::getLastAdminNote($this->row->get('admin_notes'), 'sponsored');
        }
        ?>
</td>
	<td class="faded actions"><?php 
        echo '<span class="manage mini"><a href="' . Route::url('index.php?option=' . $this->option . '&task=process&id=' . $this->row->get('id')) . '?reviewer=' . $this->filters['reviewer'] . '&filterby=' . $this->filters['filterby'] . '" class="showinbox">' . Lang::txt('COM_PROJECTS_MANAGE') . '</a></span>';
        ?>
</td>
<?php 
    }
}
?>
</tr>