# HG changeset patch # User Simon Chabot # Date 1584023879 -3600 # Node ID edfee40475bb2b56d19ce535d60f9ef1b3c2fb48 # Parent 327b11ee0914afb761c11ffb01104434003b2593 [debugtoolbar] Do not render CW controller panel when no controller got collected This can happen on pure pyramid applications for instance. diff -r 327b11ee0914 -r edfee40475bb cubicweb/pyramid/debug_toolbar_templates/cw.dbtmako --- a/cubicweb/pyramid/debug_toolbar_templates/cw.dbtmako Wed Mar 18 11:30:05 2020 +0100 +++ b/cubicweb/pyramid/debug_toolbar_templates/cw.dbtmako Thu Mar 12 15:37:59 2020 +0100 @@ -1,3 +1,5 @@ +% if controller: +

Controller

@@ -61,3 +63,6 @@
  • data sources
  • Site information
  • +% else: +

    No controller store got collected.

    +% endif