summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/patch_view.html24
1 files changed, 24 insertions, 0 deletions
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 %}
+ <h1>{{ pkg.name }} ({{ pkg.version }}) {{ patch }}</h1>
+ <h2>Summary</h2>
+ <div>
+ <code class="diffstat">
+ <pre>
+{{ patchContents.diffstat|escape }}
+ </pre>
+ </code>
+ </div>
+ <div>
+ <a href="{{ conf.root_url }}/patch/{{ patchType }}/dl/{{ pkg.name }}/{{ pkg.version }}/{{ patch }}">
+ download this patch
+ </a>
+ </div>
+ <h2>Patch contents</h2>
+ <div class="patch">
+{{ patchContents.highlight|safe }}
+ </div>
+{% endblock %}