summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2010-05-13 13:04:37 +0200
committerSean Finney <seanius@debian.org>2010-05-13 13:04:37 +0200
commit4b8d2dc2b041e4fb0a6eed4244c47e3d62a5b3f9 (patch)
tree4dccb8fc09ee9bcd81af2f486c983cffd4d157b9 /templates
parente18cb8cd9179424c765c4aee5ff7481a528a6698 (diff)
downloadpatch-tracker-4b8d2dc2b041e4fb0a6eed4244c47e3d62a5b3f9.tar.gz
Django implementations of the rest of the patch view/download views
Diffstat (limited to 'templates')
-rw-r--r--templates/package_vers.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/package_vers.html b/templates/package_vers.html
index 536aed0..81f03b2 100644
--- a/templates/package_vers.html
+++ b/templates/package_vers.html
@@ -117,5 +117,32 @@ debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
{% endif %}
{% endif %}
+{% if pkg.diffgz_name and diffhandler.nondebiandir.lines %}
+ <div class="nondebdiff">
+ <a name="direct-patches"></a>
+ <h2> Misc. Non-packaging "direct" style patches </h2>
+ <table class="patchlisting">
+ <tr>
+ <th>file</th>
+ <th>inserted</th>
+ <th>deleted</th>
+ <th>modified</th>
+ <th>view</th>
+ <th>download</th>
+ </tr>
+ {% for insd,deld,modd,f in diffhandler.nondebiandir.diffstat.stats %}
+ <tr>
+ <td>{{ f }}</td><td>{{ insd }}</td><td>{{ deld }}</td><td>{{ modd }}</td>
+ <td>
+ <a href="{{ conf.root_url }}/patch/misc/view/{{ pkg.name }}/{{ pkg.version }}/{{ f }}">view</a>
+ </td>
+ <td>
+ <a href="{{ conf.root_url }}/patch/misc/dl/{{ pkg.name }}/{{ pkg.version }}/{{ f }}">download</a>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div> <!-- nondebdiff -->
+{% endif %}
{% endblock %}