Преглед на файлове

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>
             <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>