viewvc-4intranet/templates/revision.ezt

88 lines
2.5 KiB
Plaintext

[# setup page definitions]
[define location][rootname][if-any where]: [where][end][end]
[define page_title][cfg.general.main_title] - revision - [location][end]
[define help_href][docroot]/help_root.html[end]
[# end]
[include "include/header.ezt" "revision"]
<hr noshade>
<table border=0 cellspacing=1 cellpadding=2>
<tr align=left>
<th>Jump to revision:</td>
<td>
<form method=get action="[jump_rev_action]">
[jump_rev_hidden_values]
<input type="text" name="rev" value="[jump_rev]">
<input type=submit value="Go">
[if-any prev_href]
<a href="[prev_href]"><img src="[icons]/back.gif" border=0 alt="Previous"></a>[end]
[if-any next_href] <a href="[next_href]"><img src="[icons]/forward.gif" border=0 alt="Next"></a>[end]
</form>
</td>
</tr>
<tr align=left>
<th>Author:</th>
<td>[author]</td>
</tr>
<tr align=left>
<th>Date:</th>
<td>[date_str] <i>([ago] ago)</i></td>
</tr>
</table>
<p><b>Log Message:</b><br/>
<pre>[log]</pre>
</p>
<hr noshade>
<p><b>Changed paths:</b></p>
<table border=0 cellspacing=1 cellpadding=2>
<tr align=left>
<th align=left bgcolor="#88ff88">Path</th>
<th align=left bgcolor="#cccccc">Action</th>
<th align=left bgcolor="#cccccc">Text Changes</th>
<th align=left bgcolor="#cccccc">Prop Changes</th>
<th align=left bgcolor="#cccccc">Diff to Previous</th>
</tr>
[if-any changes]
[for changes]
<tr bgcolor="[if-index changes even]#ffffff[else]#ccccee[end]">
<td>
[is changes.pathtype "dir"]
<img src="[icons]/small/dir.gif">
[else]
<img src="[icons]/small/text.gif">
[end]
[is changes.action "deleted"]
[changes.filename]
[else]
<a href="[changes.view_href]">[changes.filename]</a>
[end]
</td>
<td align=center>[changes.action]</td>
[is changes.action "deleted"]
<td align=center>&nbsp;</td>
<td align=center>&nbsp;</td>
[else]
<td align=center>[is changes.text_mods "1"]X[else]&nbsp;[end]</td>
<td align=center>[is changes.prop_mods "1"]X[else]&nbsp;[end]</td>
[end]
[if-any changes.diff_href]
<td align=center><a href="[changes.diff_href]&amp;r1=[rev]&amp;r2=[changes.prev_rev]&amp;p1=[changes.filename]&amp;p2=[changes.prev_path]">(diff to previous)</a></td>
[else]
<td align=center>&nbsp;</td>
[end]
</tr>
[end]
[else]
<tr>
<td colspan="5">No changed paths.</td>
</tr>
[end]
</table>
[include "include/footer.ezt"]