1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[full-history]

* Added a few propreties to templates to display by default.



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Uroš Trebec 2007-03-23 23:57:22 +00:00
parent 1829afdba6
commit 994b52661a
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,6 @@
{% if change %}
<h3>ChangeLog</h3>
{% comment %}
<table border="1px">
<thead>
<tr>
@ -23,8 +24,9 @@
{% endfor %}
</tbody>
</table>
{% endcomment %}
<h3>{{ object }}</h3>
<h3>{{ object }}</h3>{% comment %}
<table border="1px">
<thead>
<tr>
@ -43,11 +45,12 @@
{% endfor %}
</tbody>
</table>
{% endcomment %}
<ul>
<li>ID: {{ change.id }}</li>
<li>PID: {{ change.object_id }}</li>
<li>Parent: {{ change.parent.id }}</li>
<li>UID: {{ change.user_id }}</li>
<li>Type: {{ change.content_type }}</li>
<li>Change time: {{ change.change_time }}</li>

View File

@ -2,7 +2,8 @@
<table border="1">
<tr>
<td>ID:</td>
<td>PID:</td>
<td>PID:</td>
<td>PaID:</td>
<td>Change time:</td>
<td>Type:</td>
<td>Ch:</td>
@ -12,6 +13,7 @@
<tr>
<td><a href="detail/{{ change.id }}/">{{ change.id }}</td>
<td>{{ change.object_id }}</td>
<td>{{ change.parent.id }}</td>
<td>{{ change.change_time }}</td>
<td>{{ change.content_type }}</td>
<td>{{ change.change_type }}</td>