예제 #1
0
파일: _list.php 프로젝트: nubee/nubee
        echo $story->getId();
        ?>
">
            <?php 
        $total = $story->countTasks();
        $available = $story->countAvailableTasks();
        echo ($total - $available) / $total * 100;
        ?>
          </span>
        </td>
        <td class="center"><?php 
        echo format_timestamp($story->getOriginalEstimate(), 'd');
        ?>
</td>
        <td class="center <?php 
        echo get_estimate_class($story);
        ?>
"><?php 
        echo format_timestamp($story->getCurrentEstimate(), 'd');
        ?>
</td>
        <td class="center"><?php 
        echo format_timestamp($story->getEffortLeft(), 'd');
        ?>
</td>
        <td class="center"><?php 
        echo format_timestamp($story->getEffortSpent(), 'd');
        ?>
</td>
        <td class="center">
          <?php 
예제 #2
0
파일: showSuccess.php 프로젝트: nubee/nubee
        <td><?php 
echo format_priority($task->getPriority());
?>
</td>
      </tr>
      <tr>
        <th>Original estimate</th>
        <td><?php 
echo format_timestamp($task->getOriginalEstimate(), 'h');
?>
</td>
      </tr>
      <tr>
        <th>Current estimate</th>
        <td class="<?php 
echo get_estimate_class($task);
?>
"><?php 
echo format_timestamp($task->getCurrentEstimate(), 'h');
?>
</td>
      </tr>
      <tr>
        <th>Effort spent</th>
        <td><?php 
echo format_timestamp($task->getEffortSpent(), 'h');
?>
</td>
      </tr>
      <tr>
        <th>Effort left</th>
예제 #3
0
파일: showSuccess.php 프로젝트: nubee/nubee
        <?php 
echo __('%available% of %total%', array('%available%' => $project->countAvailableTasks(), '%total%' => $project->countTasks()));
?>
      </td>
    </tr>
    <tr>
      <th>Original estimate</th>
      <td><?php 
echo format_timestamp($project->getOriginalEstimate(), 'w');
?>
</td>
    </tr>
    <tr>
      <th>Current estimate</th>
      <td class="<?php 
echo get_estimate_class($project);
?>
"><?php 
echo format_timestamp($project->getCurrentEstimate(), 'w');
?>
</td>
    </tr>
    <tr>
      <th>Effort spent</th>
      <td><?php 
echo format_timestamp($project->getEffortSpent(), 'w');
?>
</td>
    </tr>
    <tr>
      <th>Effort left</th>
예제 #4
0
파일: showSuccess.php 프로젝트: nubee/nubee
      <td><?php 
echo format_date($iteration->getEndDate(), 'dd/M/yyyy');
?>
</td>
    </tr>
    <tr>
      <th>Original estimate</th>
      <td><?php 
echo format_timestamp($iteration->getOriginalEstimate(), 'd');
?>
</td>
    </tr>
    <tr>
      <th>Current estimate</th>
      <td class="<?php 
echo get_estimate_class($iteration);
?>
"><?php 
echo format_timestamp($iteration->getCurrentEstimate(), 'd');
?>
</td>
    </tr>
    <tr>
      <th>Effort spent</th>
      <td><?php 
echo format_timestamp($iteration->getEffortSpent(), 'd');
?>
</td>
    </tr>
    <tr>
      <th>Effort left</th>