diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html new file mode 100644 index 0000000..1bfc440 --- /dev/null +++ b/progit/templates/pull_request.html @@ -0,0 +1,90 @@ +{% extends "master.html" %} + +{% block title %}Home{% endblock %} +{%block tag %}home{% endblock %} + + +{% block content %} + +
Author | ++ {{ diff_commits[loop.index - 1].author.name }} {{ '<' + diff_commits[loop.index - 1].author.email + '>' }} + - {{ diff_commits[loop.index - 1].commit_time }} + | +
Committer | ++ {{ diff_commits[loop.index - 1].committer.name }} {{ '<' + diff_commits[loop.index - 1].committer.email + '>' }} + - {{ diff_commits[loop.index - 1].commit_time }} + | +
Parent | +
+ {% for parent in diff_commits[loop.index - 1].parents %}
+ {% if '/fork/' in request.url %}
+
+ {% else %}
+
+ {% endif %}
+
+ {{ parent.oid.hex }}
+ + {% endfor %} + |
+
+ {{ diff_commits[loop.index - 1].message }} +
+ {% autoescape false %} + {{ html_diff }} + {% endautoescape %} + {% endfor %} +