Anpassungen für das Hosting bei Djangoeurope und damit verbundenen Versionen Django 1.8 und Python 2.7
This commit is contained in:
committed by
Christian Berg
parent
cb4b15b3c6
commit
b96b485b61
28
templates/debug_toolbar/panels/logging.html
Normal file
28
templates/debug_toolbar/panels/logging.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% load i18n %}
|
||||
{% if records %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans "Level" %}</th>
|
||||
<th>{% trans "Time" %}</th>
|
||||
<th>{% trans "Channel" %}</th>
|
||||
<th>{% trans "Message" %}</th>
|
||||
<th>{% trans "Location" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for record in records %}
|
||||
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %}">
|
||||
<td>{{ record.level }}</td>
|
||||
<td>{{ record.time|date:"h:i:s m/d/Y" }}</td>
|
||||
<td>{{ record.channel|default:"-" }}</td>
|
||||
<td>{{ record.message|linebreaksbr }}</td>
|
||||
<td>{{ record.file }}:{{ record.line }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p>{% trans "No messages logged" %}.</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user