summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2010-05-13 19:36:31 +0200
committerSean Finney <seanius@debian.org>2010-05-13 19:36:31 +0200
commite3e23ba7197588bb98ea589f693f7fc59cc5eb2a (patch)
treed1df4aa677c085dff078f6e2807a769b736d5eec /templates
parent01e55d8e6ca532ceb1382db529f82941bc7a6bad (diff)
downloadpatch-tracker-e3e23ba7197588bb98ea589f693f7fc59cc5eb2a.tar.gz
commonize all the diffhandler stuff into the SourcePackage model
Diffstat (limited to 'templates')
-rw-r--r--templates/package_vers.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/package_vers.html b/templates/package_vers.html
index 81f03b2..7e4c1cb 100644
--- a/templates/package_vers.html
+++ b/templates/package_vers.html
@@ -73,7 +73,7 @@ debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
<a href="{{ conf.root_url }}/patch/debianonly/dl/{{ pkg.name }}/{{ pkg.version }}">download</a>
</td>
</tr>
- {% if pkg.diffgz_name and diffhandler.nondebiandir.lines %}
+ {% if pkg.diffgz_name and pkg.diffhandler.nondebiandir.lines %}
<tr>
<th>non packaging (i.e. not ./debian) changes</th>
<td>
@@ -89,7 +89,7 @@ debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
{% endif %}
{% if pkg.diffgz_name or pkg.debtar_name %}
- {% if diffhandler.series %}
+ {% if pkg.diffhandler.series %}
<div class="debseries">
<a name="series-patches"></a>
<h2> "series" style patches </h2>
@@ -100,7 +100,7 @@ debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
<th>view</th>
<th>raw</th>
</tr>
- {% for name,patch in diffhandler.series.iterpatches %}
+ {% for name,patch in pkg.diffhandler.series.iterpatches %}
<tr>
<td>{{ name }}</td>
<td class="diffstat"><pre>{{ patch.diffstat }}</pre></td>
@@ -117,7 +117,7 @@ debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
{% endif %}
{% endif %}
-{% if pkg.diffgz_name and diffhandler.nondebiandir.lines %}
+{% if pkg.diffgz_name and pkg.diffhandler.nondebiandir.lines %}
<div class="nondebdiff">
<a name="direct-patches"></a>
<h2> Misc. Non-packaging "direct" style patches </h2>
@@ -130,7 +130,7 @@ debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
<th>view</th>
<th>download</th>
</tr>
- {% for insd,deld,modd,f in diffhandler.nondebiandir.diffstat.stats %}
+ {% for insd,deld,modd,f in pkg.diffhandler.nondebiandir.diffstat.stats %}
<tr>
<td>{{ f }}</td><td>{{ insd }}</td><td>{{ deld }}</td><td>{{ modd }}</td>
<td>