소스 검색

Applied JSON rederer to ConfigContext data

Jeremy Stretch 7 년 전
부모
커밋
65dd7a5938
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netbox/templates/extras/configcontext.html

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

@@ -146,7 +146,7 @@
                     <strong>Data</strong>
                 </div>
                 <div class="panel-body">
-                    <pre>{{ configcontext.data }}</pre>
+                    <pre>{{ configcontext.data|render_json }}</pre>
                 </div>
             </div>
         </div>