소스 검색

Fixes #7227: Correct placeholder value for webhook CA file path

jeremystretch 4 년 전
부모
커밋
4493c31216
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      netbox/templates/extras/webhook.html

+ 1 - 7
netbox/templates/extras/webhook.html

@@ -110,13 +110,7 @@
           </tr>
           </tr>
           <tr>
           <tr>
             <th scope="row">CA File Path</th>
             <th scope="row">CA File Path</th>
-            <td>
-              {% if object.ca_file_path %}
-                <code>{{ object.ca_file_path }}</code>
-              {% else %}
-                &mdash
-              {% endif %}
-            </td>
+            <td>{{ object.ca_file_path|placeholder }}</td>
           </tr>
           </tr>
         </table>
         </table>
       </div>
       </div>