コード例 #1
0
  $tasks->autoFinish($_GET["finish"]);
}
if($_GET["wip"])
{
  $tasks->autoWip($_GET["wip"]);
}
if($_GET["move"] && $_GET["to"])
{
  $tasks->moveToSprint($_GET["move"],$_GET["to"]);
}
// Display
$tasks = new main_tasks();
$sprint = new main_sprints();
$status = $sprint->getVelocity();
$projects = new main_projects();
$projects->getActiveProjects($_GET["team"]);
$teamName = " All Teams";
if($_GET["team"]){
    $team = new main_teams();
    $team->getOne($_GET["team"]);
    $team->load();
    $teamName = "Team ".$team->get_team_name();
}
?>
<div class="alert alert-success"><h4><?php 
echo $teamName;
?>
 : Sprint <?php 
echo $status["sprint"];
?>
 <a href="<?php 
コード例 #2
0
<?
$tasks = new main_tasks();
if($_GET["assign"])
{
  $tasks->autoAssign($_GET["assign"]);
}
$sprint = new main_sprints();
$status = $sprint->getVelocity();
$projects = new main_projects();
$projects->getActiveProjects();
?>
<div class="well well-small"><h3>Sprint <?php 
echo $status["sprint"];
?>
 (<?php 
echo $status["velocity"];
?>
)</h3></div>
<div class="row">
  <div class="span4"><h2>Backlog (<?php 
echo $status["backlog"];
?>
)</h2></div>
</div>
<?
while($projects->load())
{
?>
<div class="row">
  
  <div class="span4 well well-small">