From 16d3cebf3e6e2e38b88a6a5cae8da6d66079f593 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 9 Mar 2020 10:42:32 -0400 Subject: [PATCH] Update markdown filter name --- netbox/templates/circuits/circuit.html | 2 +- netbox/templates/circuits/provider.html | 6 +++--- netbox/templates/dcim/device.html | 2 +- netbox/templates/dcim/devicetype.html | 2 +- netbox/templates/dcim/powerfeed.html | 2 +- netbox/templates/dcim/rack.html | 2 +- netbox/templates/dcim/site.html | 2 +- netbox/templates/extras/script.html | 2 +- netbox/templates/extras/tag.html | 2 +- netbox/templates/tenancy/tenant.html | 2 +- netbox/templates/virtualization/cluster.html | 2 +- netbox/templates/virtualization/virtualmachine.html | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/netbox/templates/circuits/circuit.html b/netbox/templates/circuits/circuit.html index 51f80cca5..4d7fe9fe2 100644 --- a/netbox/templates/circuits/circuit.html +++ b/netbox/templates/circuits/circuit.html @@ -119,7 +119,7 @@
{% if circuit.comments %} - {{ circuit.comments|markdown }} + {{ circuit.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/circuits/provider.html b/netbox/templates/circuits/provider.html index dad07bc7c..faeb516ee 100644 --- a/netbox/templates/circuits/provider.html +++ b/netbox/templates/circuits/provider.html @@ -88,11 +88,11 @@ NOC Contact - {{ provider.noc_contact|markdown|placeholder }} + {{ provider.noc_contact|render_markdown|placeholder }} Admin Contact - {{ provider.admin_contact|markdown|placeholder }} + {{ provider.admin_contact|render_markdown|placeholder }} Circuits @@ -110,7 +110,7 @@
{% if provider.comments %} - {{ provider.comments|markdown }} + {{ provider.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 9e16f6e6c..c657e9fc5 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -325,7 +325,7 @@
{% if device.comments %} - {{ device.comments|markdown }} + {{ device.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/dcim/devicetype.html b/netbox/templates/dcim/devicetype.html index 27c61de76..352141a9a 100644 --- a/netbox/templates/dcim/devicetype.html +++ b/netbox/templates/dcim/devicetype.html @@ -149,7 +149,7 @@
{% if devicetype.comments %} - {{ devicetype.comments|markdown }} + {{ devicetype.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/dcim/powerfeed.html b/netbox/templates/dcim/powerfeed.html index 350d9bd52..ca717b5e1 100644 --- a/netbox/templates/dcim/powerfeed.html +++ b/netbox/templates/dcim/powerfeed.html @@ -158,7 +158,7 @@
{% if powerfeed.comments %} - {{ powerfeed.comments|markdown }} + {{ powerfeed.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/dcim/rack.html b/netbox/templates/dcim/rack.html index a824f44de..99d9e4697 100644 --- a/netbox/templates/dcim/rack.html +++ b/netbox/templates/dcim/rack.html @@ -198,7 +198,7 @@
{% if rack.comments %} - {{ rack.comments|markdown }} + {{ rack.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html index ac7e1d07f..9f842bf10 100644 --- a/netbox/templates/dcim/site.html +++ b/netbox/templates/dcim/site.html @@ -206,7 +206,7 @@
{% if site.comments %} - {{ site.comments|markdown }} + {{ site.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/extras/script.html b/netbox/templates/extras/script.html index bf83e7fd9..6d7aca126 100644 --- a/netbox/templates/extras/script.html +++ b/netbox/templates/extras/script.html @@ -47,7 +47,7 @@ {{ forloop.counter }} {% log_level level %} - {{ message|markdown }} + {{ message|render_markdown }} {% empty %} diff --git a/netbox/templates/extras/tag.html b/netbox/templates/extras/tag.html index f127d365a..64e5bbebd 100644 --- a/netbox/templates/extras/tag.html +++ b/netbox/templates/extras/tag.html @@ -90,7 +90,7 @@
{% if tag.comments %} - {{ tag.comments|markdown }} + {{ tag.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/tenancy/tenant.html b/netbox/templates/tenancy/tenant.html index e5cea5705..4ef26c451 100644 --- a/netbox/templates/tenancy/tenant.html +++ b/netbox/templates/tenancy/tenant.html @@ -87,7 +87,7 @@
{% if tenant.comments %} - {{ tenant.comments|markdown }} + {{ tenant.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/virtualization/cluster.html b/netbox/templates/virtualization/cluster.html index 0d2b1a968..4070977bc 100644 --- a/netbox/templates/virtualization/cluster.html +++ b/netbox/templates/virtualization/cluster.html @@ -115,7 +115,7 @@
{% if cluster.comments %} - {{ cluster.comments|markdown }} + {{ cluster.comments|render_markdown }} {% else %} None {% endif %} diff --git a/netbox/templates/virtualization/virtualmachine.html b/netbox/templates/virtualization/virtualmachine.html index b5339f508..33dd8130a 100644 --- a/netbox/templates/virtualization/virtualmachine.html +++ b/netbox/templates/virtualization/virtualmachine.html @@ -152,7 +152,7 @@
{% if virtualmachine.comments %} - {{ virtualmachine.comments|markdown }} + {{ virtualmachine.comments|render_markdown }} {% else %} None {% endif %}