예제 #1
0
    <table class="table-fixed">
        <tr>
            <th class="column-8"><?php 
    echo Helper\order('Id', 'tasks.id', $pagination);
    ?>
</th>
            <th class="column-20"><?php 
    echo Helper\order(t('Project'), 'project_name', $pagination);
    ?>
</th>
            <th><?php 
    echo Helper\order(t('Task'), 'title', $pagination);
    ?>
</th>
            <th class="column-20"><?php 
    echo Helper\order(t('Due date'), 'date_due', $pagination);
    ?>
</th>
        </tr>
        <?php 
    foreach ($tasks as $task) {
        ?>
        <tr>
            <td class="task-table task-<?php 
        echo $task['color_id'];
        ?>
">
                <?php 
        echo Helper\a('#' . $task['id'], 'task', 'show', array('task_id' => $task['id']));
        ?>
            </td>
예제 #2
0
    <table class="table-fixed">
        <tr>
            <th class="column-10"><?php 
    echo Helper\order(t('Task Id'), 'tasks.id', $pagination);
    ?>
</th>
            <th class="column-20"><?php 
    echo Helper\order(t('Project'), 'project_name', $pagination);
    ?>
</th>
            <th class="column-15"><?php 
    echo Helper\order(t('Status'), 'status', $pagination);
    ?>
</th>
            <th><?php 
    echo Helper\order(t('Subtask'), 'title', $pagination);
    ?>
</th>
        </tr>
        <?php 
    foreach ($subtasks as $subtask) {
        ?>
        <tr>
            <td class="task-table task-<?php 
        echo $subtask['color_id'];
        ?>
">
                <?php 
        echo Helper\a('#' . $subtask['task_id'], 'task', 'show', array('task_id' => $subtask['task_id']));
        ?>
            </td>
예제 #3
0
?>
</th>
        <th class="column-10"><?php 
echo Helper\order(t('Due date'), 'tasks.date_due', $pagination);
?>
</th>
        <th class="column-10"><?php 
echo Helper\order(t('Date created'), 'tasks.date_creation', $pagination);
?>
</th>
        <th class="column-10"><?php 
echo Helper\order(t('Date completed'), 'tasks.date_completed', $pagination);
?>
</th>
        <th class="column-5"><?php 
echo Helper\order(t('Status'), 'tasks.is_active', $pagination);
?>
</th>
    </tr>
    <?php 
foreach ($tasks as $task) {
    ?>
    <tr>
        <td class="task-table task-<?php 
    echo $task['color_id'];
    ?>
">
            <?php 
    echo Helper\a('#' . Helper\escape($task['id']), 'task', 'show', array('task_id' => $task['id']), false, '', t('View this task'));
    ?>
        </td>
예제 #4
0
    ?>
    <p class="alert"><?php 
    echo t('Your are not member of any project.');
    ?>
</p>
<?php 
} else {
    ?>
    <table class="table-fixed">
        <tr>
            <th class="column-8"><?php 
    echo Helper\order('Id', 'id', $pagination);
    ?>
</th>
            <th class="column-20"><?php 
    echo Helper\order(t('Project'), 'name', $pagination);
    ?>
</th>
            <th><?php 
    echo t('Columns');
    ?>
</th>
        </tr>
        <?php 
    foreach ($projects as $project) {
        ?>
        <tr>
            <td>
                <?php 
        echo Helper\a('#' . $project['id'], 'board', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link');
        ?>
예제 #5
0
    ?>
</th>
                <th><?php 
    echo Helper\order(t('Default project'), 'default_project_id', $pagination);
    ?>
</th>
                <th><?php 
    echo Helper\order(t('Notifications'), 'notifications_enabled', $pagination);
    ?>
</th>
                <th><?php 
    echo t('External accounts');
    ?>
</th>
                <th><?php 
    echo Helper\order(t('Account type'), 'is_ldap_user', $pagination);
    ?>
</th>
            </tr>
            <?php 
    foreach ($users as $user) {
        ?>
            <tr>
                <td>
                    <?php 
        echo Helper\a('#' . $user['id'], 'user', 'show', array('user_id' => $user['id']));
        ?>
                </td>
                <td>
                    <?php 
        echo Helper\a(Helper\escape($user['username']), 'user', 'show', array('user_id' => $user['id']));