mirror of
https://github.com/correl/codereview.git
synced 2024-12-29 11:09:20 +00:00
34 lines
901 B
HTML
34 lines
901 B
HTML
{% extends "layouts/default.html" %}
|
|
|
|
{% block navigation %}
|
|
<h2>Repositories</h2>
|
|
|
|
<ul>
|
|
{% for repo in repositories %}
|
|
<li><a href="{% url codereview.browser.views.log repository=repo.name %}">{{ repo.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="section">
|
|
<h2>Reviews</h2>
|
|
<table class="reviews">
|
|
<tr>
|
|
<th>Review</th>
|
|
<th>Created</th>
|
|
<th>Comments</th>
|
|
</tr>
|
|
{% for review in reviews %}
|
|
<tr>
|
|
<td>
|
|
#{{ review.pk }} -
|
|
<a href="{% url codereview.review.views.edit review_id=review.pk %}">{{ review.description }}</a>
|
|
</td>
|
|
<td>{{ review.created }}</td>
|
|
<td>{{ review.comment_set.count }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|