Ticket #132: differences.tt

File differences.tt, 0.9 kB (added by cds, 2 years ago)
Line 
1[% INCLUDE header.tt %]
2[% INCLUDE banner.tt %]
3<div id="content">
4[% INCLUDE navbar.tt %]
5<div id="maincontent">
6  <h1>Differences between [% right_version %] and [% left_version %] of <span class="node_name">[% node_name %]</span>
7  </h1>
8[% IF diff %]
9<table>
10  <tr>
11    <th width=50%> [% right_version %] </th>
12    <th width=50%> [% left_version %] </th>
13  </tr>
14[% FOREACH hunk = diff %]
15  <tr>
16    <td>[% hunk.right %]</td>
17    <td>[% hunk.left %]</td>
18  </tr>
19[% END %]
20</table><hr>
21[% ELSE %]
22  <h3>Contents are identical</h3>
23[% END %]
24
25[% INCLUDE display_metadata.tt %]
26
27[% content %]
28
29<br clear="all" />
30
31<a href="[% cgi_url %]?action=list_all_versions;id=[% node_param %]">List all versions</a><br />
32
33<p>
34<form action="search.cgi" method="get">
35  <input type="text" size="50" name="search" />
36  <input type="submit" name="Go" value="Search" class="form_button" />
37</form>
38</p>
39</div>
40[% INCLUDE footer.tt %]