Ejemplo n.º 1
0
        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 
Ejemplo n.º 2
0
        <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>
Ejemplo n.º 3
0
        <?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>
Ejemplo n.º 4
0
      <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>