Parent: [ec7d70] (diff)

Child: [6f608f] (diff)

Download this file

diff.html    35 lines (28 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="${g.pyforge_templates}/master.html"/>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title>SVN Tree</title>
<link rel="stylesheet" type="text/css" media="screen, projection" href="${g.forge_static('css/forge/hilite.css')}" />
</head>
<body>
<div style="background-color:#ddd;-moz-border-radius:5px;padding:1em;">
<a href="${a._commit.url()}">Revision $a._commit._id:</a>
<a href="${a.url()}">${a.path()}</a><br/>
..<br/>
<a href="${b._commit.url()}">Revision $b._commit._id:</a>
<a href="${b.url()}">${b.path()}</a>
<py:if test="not a.has_html_view or not b.has_html_view">
$a.name cannot be displayed in your browser.
You may, however, <a href="?format=raw">download this file</a> instead.
</py:if>
<py:if test="a.has_html_view and b.has_html_view">
${Markup(g.highlight(diff, lexer='diff'))}
</py:if>
</div>
</body>
</html>