space-accessstablestage
|
Last change
on this file was
cb9b105,
checked in by Alex Dehnert <adehnert@…>, 14 years ago
|
|
Consistently display group toolbox on group pages
|
-
Property mode set to
100644
|
|
File size:
725 bytes
|
| Line | |
|---|
| 1 | {% extends "base.html" %} |
|---|
| 2 | |
|---|
| 3 | {% block title %}{{title}}{% endblock %} |
|---|
| 4 | {% block content %} |
|---|
| 5 | |
|---|
| 6 | <h1>{{title}}</h1> |
|---|
| 7 | |
|---|
| 8 | {% if adminpriv %} |
|---|
| 9 | {% include "groups/group_tools.part.html" %} |
|---|
| 10 | {% endif %} |
|---|
| 11 | |
|---|
| 12 | <table class='pretty-table'> |
|---|
| 13 | <tr> |
|---|
| 14 | <th>#</th> |
|---|
| 15 | <th>Group</th> |
|---|
| 16 | <th>Date</th> |
|---|
| 17 | <th>Updater</th> |
|---|
| 18 | <th>Comment</th> |
|---|
| 19 | </tr> |
|---|
| 20 | {% for version in version_list %} |
|---|
| 21 | <tr> |
|---|
| 22 | <td>{{version.object_id}}</td> |
|---|
| 23 | <td><a href='{% url groups:group-detail version.object_id %}'>{{version.object_repr}}</a></td> |
|---|
| 24 | <td>{{version.revision.date_created}}</td> |
|---|
| 25 | <td>{% if version.revision.user %}{{version.revision.user}}{%else%}<i>System</i>{%endif%}</td> |
|---|
| 26 | <td>{{version.revision.comment}}</td> |
|---|
| 27 | </tr> |
|---|
| 28 | {% endfor %} |
|---|
| 29 | </table> |
|---|
| 30 | |
|---|
| 31 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.