trac-ticketlinks / templates / roadmap.cs

<?cs set:html.stylesheet = 'css/roadmap.css' ?>
<?cs include "header.cs"?>
<?cs include "macros.cs"?>

<div id="ctxtnav" class="nav">
  <?cs if:roadmap.href.newmilestone ?><li><a href="<?cs
    var:roadmap.href.newmilestone ?>">Add New Milestone</a></li><?cs /if ?>
  <li class="last"><a href="<?cs var:roadmap.href.list ?>"><?cs
    if:roadmap.showall ?>Show All Milestones<?cs
    else ?>Show Upcoming Milestones<?cs /if ?></a></li>

<div id="content" class="roadmap">

 <ul class="milestones"><?cs each:milestone = roadmap.milestones ?>
  <li class="milestone">
   <div class="info">
    <h2><a href="<?cs var:milestone.href ?>">Milestone: <em><?cs ?></em></a></h2>
    <p class="date"><?cs ?>
     <?cs ?><?cs else ?>No date set<?cs /if ?>
    <?cs with:stats = milestone.stats ?>
     <?cs if:#stats.total_tickets > #0 ?>
      <div class="progress">
       <div style="width: <?cs var:#stats.percent_complete ?>%"></div>
      <p class="percent"><?cs var:#stats.percent_complete ?>%</p>
       <dt>Active tickets:</dt>
       <dd><a href="<?cs var:milestone.queries.active_tickets ?>"><?cs
         var:stats.active_tickets ?></a></dd>
       <dt>Closed tickets:</dt>
       <dd><a href="<?cs var:milestone.queries.closed_tickets ?>"><?cs
         var:stats.closed_tickets ?></a></dd>
     <?cs /if ?>
    <?cs /with ?>
   <div class="descr"><?cs var:milestone.descr ?></div>
 <?cs /each ?></ul>

 <div id="help">
  <strong>Note:</strong> See <a href="<?cs ?>/TracRoadmap">TracRoadmap</a> for help on using the roadmap.

<?cs include:"footer.cs"?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.