mirror of
https://github.com/correl/codereview.git
synced 2024-12-29 11:09:20 +00:00
45 lines
1 KiB
HTML
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 %}
|