Explorar el Código

Show script log when an exception occurs

Jeremy Stretch hace 6 años
padre
commit
11e5e1c490
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/templates/extras/script.html

+ 1 - 1
netbox/templates/extras/script.html

@@ -30,7 +30,7 @@
     </ul>
     <div class="tab-content">
         <div role="tabpanel" class="tab-pane active" id="run">
-            {% if execution_time %}
+            {% if execution_time or script.log %}
                 <div class="row">
                     <div class="col-md-12">
                         <div class="panel panel-default">