소스 검색

Show script log when an exception occurs

Jeremy Stretch 6 년 전
부모
커밋
11e5e1c490
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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">