diff options
Diffstat (limited to 'templates/package_vers.html')
-rw-r--r-- | templates/package_vers.html | 27 |
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 %} |