codereview/templates/browser/view.html
2010-12-09 00:06:17 -05:00

45 lines
1 KiB
HTML

{% extends "layouts/default.html" %}
{% load gravatar %}
{% load vcs %}
{% block navigation %}
{% include "browser/navigation.html" %}
{% endblock %}
{% block content %}
<h2>{{ commit.message|oneline }}</h2>
<dl>
<dt>Committer</dt>
<dd>
<img src="{{ commit.author_email|gravatar:32 }}" />
{{ commit.committer }}
</dd>
<dt>Committed</dt>
<dd>{{ commit.committed_date }}</dd>
<dt>Author</dt>
<dd>
<img src="{{ commit.author_email|gravatar:32 }}" />
{{ commit.author }}
</dd>
<dt>Written</dt>
<dd>{{ commit.authored_date }}</dd>
<dt>Message</dt>
<dd>
{{ commit.message }}
</dd>
</dl>
<form name="review" method="post" action="{% url codereview.review.views.new%}">
{{ form }}
{% csrf_token %}
<input type="submit" value="Create New Review" />
</form>
<div class="diff-container">
<div class="diff-html">
{% for diff in diffs %}
{% include "components/diff.html" %}
{% endfor %}
</div>
</div>
{% endblock %}