/usr/share/pyshared/mastertickets/templates/depgraph.html is in trac-mastertickets 3.0.2+20111224-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 35 36 | <!--!
depgraph
Created by on 2007-12-21.
Copyright (c) 2007 Noah Kantrowitz. All rights reserved.
-->
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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="layout.html" />
<head>
<title py:if="not milestone">Dependency Graph #$tkt.id</title>
<title py:if="milestone">Dependency Graph for milestone $milestone</title>
</head>
<body>
<div id="content">
<py:choose test="">
<py:when test="milestone">
<h1>Dependency Graph for milestone $milestone</h1>
<img src="${href.depgraph('milestone', milestone, 'depgraph.png', summary=graph.label_summary)}"
alt="Dependency graph" usemap="${(not use_gs) and '#graph' or None}" />
</py:when>
<py:otherwise>
<h1>Dependency Graph for Ticket #$tkt.id</h1>
<img src="${href.depgraph(tkt.id, 'depgraph.png', summary=graph.label_summary)}"
alt="Dependency graph" usemap="${(not use_gs) and '#graph' or None}" />
</py:otherwise>
</py:choose>
<py:if test="not use_gs">
${Markup(graph_render('cmapx').decode('utf8'))}
</py:if>
</div>
</body>
</html>
|