2010-11-19 05:12:29 +00:00
|
|
|
{% extends "layouts/default.html" %}
|
|
|
|
|
2010-11-22 05:48:29 +00:00
|
|
|
{% block navigation %}
|
2010-11-19 05:12:29 +00:00
|
|
|
<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 %}
|
2010-12-14 22:55:30 +00:00
|
|
|
|
|
|
|
{% 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 %}
|