[include "include/dir_header.ezt"] [if-any sortby_rev_href] [if-any up_href] [end] [for entries] [if-any entries.errors] [else] [define view_icon_link][end] [define graph_icon_link][end] [define download_icon_link][end] [define annotate_icon_link][end] [define log_icon_link][if-any entries.log_href]View Log[end][end] [is entries.pathtype "dir"] [is roottype "cvs"] [# no point in showing icon when there's only one to choose from] [else] [define view_icon_link]View Directory Listing[end] [end] [end] [is entries.pathtype "file"] [define view_icon_link][if-any entries.view_href]View File[end][end] [define graph_icon_link][if-any entries.graph_href]View Revision Graph[end][end] [define download_icon_link][if-any entries.download_href]Download File[end][end] [define annotate_icon_link][if-any entries.annotate_href]Annotate File[end][end] [end] [end] [end]
[if-any sortby_file_href]File[else]File[end] [is sortby "file"] [is sortdir [end] Last Change [is sortby "rev"] [is sortdir [end] [else] [if-any sortby_date_href]Last Change[else]Last Change[end] [is sortby "date"] [is sortdir [end] [end]
 Parent Directory  
[entries.name][is entries.pathtype "dir"]/[end] [if-any entries.lockinfo]locked[end] [is entries.state "dead"](dead)[end] [for entries.errors][entries.errors][end][# Icon column. We might want to add more icons like a tarball # icon for directories or a diff to previous icon for files. # Make sure this sucker has no whitespace in it, or the fixed # widthness of will suffer for large font sizes ][log_icon_link][view_icon_link][graph_icon_link][download_icon_link][annotate_icon_link] [if-any entries.rev] [if-any entries.revision_href][entries.rev][else][entries.rev][end] ([entries.ago] ago) by [entries.author]: [entries.log] [is entries.pathtype "dir"][is roottype "cvs"] (from [entries.log_file]/[entries.log_rev]) [end][end] [end]
[include "include/dir_footer.ezt"]