Skip to content

Commit

Permalink
[#2375] Add debug info to page footer (template info and context
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jun 6, 2012
1 parent 407a891 commit d0a6195
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ckan/templates/footer.jinja.html
Expand Up @@ -17,4 +17,16 @@
<p><small>Maps powered by Leaflet, map data &copy; OpenStreetMap contributors, CC-BY-SA, map imagery &copy; CloudMade</small></p>
</div>
</div>
{% if config.debug %}
<div class="well" style="color:#333;margin-top:10px;">
<b>Debug info:</b><br/>
Controller : {{ c.controller }}<br/>
Action : {{ c.action }}<br/>
Template name : {{ c.__template_name }}<br/>
Template path : {{ c.__template_path }}<br/>

{{h.debug_full_info()}}

</div>
{% endif %}
</footer>

0 comments on commit d0a6195

Please sign in to comment.