Blame Identity/Webenv/Trac/templates/timeline.cs

ef5584
ef5584
ef5584
ef5584
ef5584
ef5584

Timeline

ef5584
ef5584
<form id="prefs" method="get" action="<?cs var:trac.href.timeline ?>">
ef5584
 
ef5584
  <label>View changes from 
ef5584
    var:timeline.from ?>" /></label> and
ef5584
  <label>
ef5584
    var:timeline.daysback ?>" /> days back</label>.
ef5584
 
ef5584
 <fieldset>
ef5584
  each:filter = timeline.filters ?>
ef5584
   <label>
ef5584
     if:filter.enabled ?> checked="checked" /> 
ef5584
     var:filter.label ?></label>
ef5584
  /each ?>
ef5584
 </fieldset>
ef5584
 
ef5584
  <input type="submit" name="update" value="Update" />
ef5584
 
ef5584
</form>
ef5584
ef5584
def:day_separator(date) ?>
ef5584
 if:date != current_date ?>
ef5584
  if:current_date ?>
ef5584
  set:current_date = date ?>
ef5584
  

:

ef5584
 /if ?>
ef5584
/def ?>
ef5584
each:event = timeline.events ?>
ef5584
 call:day_separator(event.date) ?>
ef5584
 var:event.kind ?>">
ef5584
 var:event.time ?> 
ef5584
  if:event.message ?>
ef5584
   var:event.message ?>
ef5584
  /if ?>
ef5584
/each ?>
ef5584
if:len(timeline.events) ?>
ef5584
ef5584
ef5584
 
ef5584
 Note: See TracTimeline 
ef5584
 for information about the timeline view.
ef5584
ef5584
ef5584
ef5584