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
37d3cb78c1
14
templates/debug_toolbar/panels/template_source.html
Normal file
14
templates/debug_toolbar/panels/template_source.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% load i18n %}
|
||||
<div class="djDebugPanelTitle">
|
||||
<a class="djDebugClose djDebugBack" href=""></a>
|
||||
<h3>{% trans "Template source:" %} <code>{{ template_name }}</code></h3>
|
||||
</div>
|
||||
<div class="djDebugPanelContent">
|
||||
<div class="djdt-scroll">
|
||||
{% if not source.pygmentized %}
|
||||
<code>{{ source }}</code>
|
||||
{% else %}
|
||||
{{ source }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user