Преглед изворни кода

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>