Esempio n. 1
0
include_component('project', 'leftMenu', array('product' => $project->getProduct()));
end_slot();
?>

<div class="sectionTitle">
  <h1>
    Project: <?php 
echo $project->getName();
?>
    <span class="actions">
      <?php 
echo edit_link_to2('Edit', 'project_edit', $project);
?>
      &nbsp;
      <?php 
echo delete_link_to2('Delete', 'project_delete', $project);
?>
    </span>
  </h1>
</div>

<div class="section">
  <?php 
echo format_text($project->getDescription());
?>
</div>

<div id="timeline" style="width:600px;height:300px;float:right"></div>
<script>
  var data = [
    // Marker for today
Esempio n. 2
0
include_component('task', 'leftMenu', array('story' => $task->getStory()));
end_slot();
?>

<div class="sectionTitle">
  <h1>
    Task: <?php 
echo $task->getName();
?>
    <span class="actions">
      <?php 
echo edit_link_to2('Edit', 'task_edit', $task);
?>
      &nbsp;
      <?php 
echo delete_link_to2('Delete', 'task_delete', $task);
?>
    </span>
  </h1>
</div>

<div class="section">
  <?php 
echo format_text($task->getDescription());
?>
</div>

<div class="section">
  <h2>Details</h2>
  <table class="details">
    <tbody>
Esempio n. 3
0
include_component('iteration', 'leftMenu', array('project' => $iteration->getProject()));
end_slot();
?>

<div class="sectionTitle">
  <h1>
    Iteration: <?php 
echo $iteration->getName();
?>
    <span class="actions">
      <?php 
echo edit_link_to2('Edit', 'iteration_edit', $iteration);
?>
      &nbsp;
      <?php 
echo delete_link_to2('Delete', 'iteration_delete', $iteration);
?>
    </span>
  </h1>
</div>

<div class="section">
  <?php 
echo format_text($iteration->getDescription());
?>
</div>

<?php 
include_partial('content/effortChart', array('id' => 'chart', 'item' => $iteration, 'children' => $iteration->getStories(), 'length' => 60 * 8));
?>
Esempio n. 4
0
include_component('story', 'leftMenu', array('iteration' => $story->getIteration()));
end_slot();
?>

<div class="sectionTitle">
  <h1>
    Story: <?php 
echo $story->getName();
?>
    <span class="actions">
      <?php 
echo edit_link_to2('Edit', 'story_edit', $story);
?>
      &nbsp;
      <?php 
echo delete_link_to2('Delete', 'story_delete', $story);
?>
    </span>
  </h1>
</div>

<div class="section">
  <?php 
echo format_text($story->getDescription());
?>
</div>

<?php 
include_partial('content/effortChart', array('id' => 'chart', 'item' => $story, 'children' => $story->getTasks(), 'length' => 60));
?>
Esempio n. 5
0
?>

<?php 
slot('leftMenu');
include_component('backlogtask', 'leftMenu', array('project' => $task->getProject()));
end_slot();
?>

<div class="sectionTitle">
  <div class="actions">
    <?php 
echo edit_link_to2('Edit', 'backlogtask_edit', $task);
?>
    &nbsp;
    <?php 
echo delete_link_to2('Delete', 'backlogtask_delete', $task);
?>
  </div>
  <h1>
    Backlog Task: <?php 
echo $task->getName();
?>
  </h1>
</div>

<div class="section">
  <?php 
echo $task->getDescription();
?>
</div>