Explorar o código

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

jeremystretch %!s(int64=4) %!d(string=hai) anos
pai
achega
4493c31216
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  1. 1 7
      netbox/templates/extras/webhook.html

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

@@ -110,13 +110,7 @@
           </tr>
           <tr>
             <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>
         </table>
       </div>