[% PROCESS viewtopicheader.html.tmpl version = version topicview = 1 topicproperties = 0 topiccomments = 0 topicinfo = 0 closehead = 0 %]

[%# Display the "Download topic text" link. #%] Download topic text [%# Display the different coloured viewing modes #%] [% IF mode == "coloured" %] | View in fixed-width font [% ELSIF mode == "coloured_mono" %] | View in variable-width font [% END %] [%# Display the different tab-width options #%] | Tab width set to [% tabwidth %] (change to [% newtabwidth %]) [%# Display the files in a table which are a part of this topic. #%] [%# Display the view all files link if required. #%]

[%# Now display a row per file which is a part of this review. #%] [% FOREACH file = filetable %] [% FLUSH IF loop.count() % 10 == 1 %] [%# Determine what CSS style to apply to the line. #%] [% SET rowstyle = "cf" %] [% IF file.revision == "added" %][% SET rowstyle = "af" %] [% ELSIF file.revision == "removed" %][% SET rowstyle = "rf" %] [% ELSIF file.revision == "patch" %][% SET rowstyle = "pf" %] [% END %] [% IF rowstyle != "cf" %] [%# Display the revision information for modified files. #%] [% IF rowstyle == "cf" %] [% END %] [%# Display the numchange information for the file. #%] [% END %]
Files in topic: [% IF fview != -1 %] (view all files) [% END %]  
[% ELSE %] [% END %] [%# Display the jump to link in the case when all files are displayed. #%] [% IF fview == -1 %] [Jump to] [% END %] [%# Display the filename with an internal link if its not binary. #%] [% IF file.binary %] [% file.filename | html_entity %] [% ELSE %] [% file.filename | html_entity %] [% END %]  [% file.revision | html_entity %]   [% IF file.numchanges != "" %] {[% file.numchanges %]} [% END %]
{+[% total_new_changes %],-[% total_old_changes %]}

[[% add_general_comment_element %]] to topic.

[%# Render the delta header in the footer if only one file is being viewed. #%] [% PROCESS viewdeltas.html.tmpl deltas = deltas render_header_in_footer = fview != -1 %] [%# Output the legend at the bottom. #%]
  
Legend:
Removed 
Changed
 Added

[[% add_general_comment_element %]] to topic. [% PROCESS trailer.html.tmpl %]