1
0
Fork 0
mirror of https://github.com/correl/codereview.git synced 2025-04-09 09:11:00 -09:00
codereview/templates/browser/diff.html

27 lines
688 B
HTML

{% extends "layouts/default.html" %}
{% load gravatar %}
{% load vcs %}
{% block navigation %}
{% include "browser/navigation.html" %}
{% endblock %}
{% block content %}
<h2>Diff View</h2>
<strong>{{ a.id }} => {{ b.id }}</strong>
{% comment %}
** ADD THIS WHEN REVIEWS SUPPORT MANUAL A/B DIFFS **
<form name="review" method="post" action="{% url codereview.review.views.new%}">
{{ form }}
{% csrf_token %}
<input type="submit" value="Create New Review" />
</form>
{% endcomment %}
<div class="diff-container">
<div class="diff-html">
{% for diff in diffs %}
{% include "components/diff.html" %}
{% endfor %}
</div>
</div>
{% endblock %}