Blame Artworks/Webenv/Trac/0.10.4/Modern/templates/timeline.cs
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
Timeline
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<form id="prefs" method="get" action="<?cs var:trac.href.timeline ?>">
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<label>View changes from
|
|
Alain Reguera Delgado |
46de3c |
var:timeline.from ?>" /></label> and
|
|
Alain Reguera Delgado |
46de3c |
<label>
|
|
Alain Reguera Delgado |
46de3c |
var:timeline.daysback ?>" /> days back</label>.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<fieldset>
|
|
Alain Reguera Delgado |
46de3c |
each:filter = timeline.filters ?>
|
|
Alain Reguera Delgado |
46de3c |
<label>
|
|
Alain Reguera Delgado |
46de3c |
if:filter.enabled ?> checked="checked" />
|
|
Alain Reguera Delgado |
46de3c |
var:filter.label ?></label>
|
|
Alain Reguera Delgado |
46de3c |
/each ?>
|
|
Alain Reguera Delgado |
46de3c |
</fieldset>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
<input type="submit" name="update" value="Update" />
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
</form>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
def:day_separator(date) ?>
|
|
Alain Reguera Delgado |
46de3c |
if:date != current_date ?>
|
|
Alain Reguera Delgado |
46de3c |
if:current_date ?>
|
|
Alain Reguera Delgado |
46de3c |
set:current_date = date ?>
|
|
Alain Reguera Delgado |
46de3c |
:
|
|
Alain Reguera Delgado |
46de3c |
/if ?>
|
|
Alain Reguera Delgado |
46de3c |
/def ?>
|
|
Alain Reguera Delgado |
46de3c |
each:event = timeline.events ?>
|
|
Alain Reguera Delgado |
46de3c |
call:day_separator(event.date) ?>
|
|
Alain Reguera Delgado |
46de3c |
var:event.kind ?>">
|
|
Alain Reguera Delgado |
46de3c |
var:event.time ?>
|
|
Alain Reguera Delgado |
46de3c |
if:event.message ?>
|
|
Alain Reguera Delgado |
46de3c |
var:event.message ?>
|
|
Alain Reguera Delgado |
46de3c |
/if ?>
|
|
Alain Reguera Delgado |
46de3c |
/each ?>
|
|
Alain Reguera Delgado |
46de3c |
if:len(timeline.events) ?>
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
Note: See TracTimeline
|
|
Alain Reguera Delgado |
46de3c |
for information about the timeline view.
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|
|
Alain Reguera Delgado |
46de3c |
|