From 9649bd16ef6cadc96c2c6e96f3449aa62646df66 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Thu, 13 May 2010 12:17:57 +0200 Subject: Implement series patch download and view in django --- templates/patch_view.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/patch_view.html (limited to 'templates') diff --git a/templates/patch_view.html b/templates/patch_view.html new file mode 100644 index 0000000..b4b50e0 --- /dev/null +++ b/templates/patch_view.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% block title %} +Patch information for {{ pkg.name }} ({{ pkg.version }}) {{ patch }} +{% endblock %} +{% block content %} +

{{ pkg.name }} ({{ pkg.version }}) {{ patch }}

+

Summary

+
+ +
+{{ patchContents.diffstat|escape }}
+    
+
+
+
+ + download this patch + +
+

Patch contents

+
+{{ patchContents.highlight|safe }} +
+{% endblock %} -- cgit v1.2.3