diff --git a/netbox/templates/core/inc/datafile_panel.html b/netbox/templates/core/inc/datafile_panel.html
new file mode 100644
index 000000000..e4d8eca74
--- /dev/null
+++ b/netbox/templates/core/inc/datafile_panel.html
@@ -0,0 +1,36 @@
+{% load i18n %}
+
+
+
+
+
+ {% trans "Data Source" %} |
+
+ {% if object.data_source %}
+ {{ object.data_source }}
+ {% else %}
+ {{ ''|placeholder }}
+ {% endif %}
+ |
+
+
+ {% trans "Data File" %} |
+
+ {% if object.data_file %}
+ {{ object.data_file }}
+ {% elif object.data_path %}
+
+
+
+ {{ object.data_path }}
+ {% else %}
+ {{ ''|placeholder }}
+ {% endif %}
+ |
+
+
+ {% trans "Data Synced" %} |
+ {{ object.data_synced|placeholder }} |
+
+
+
diff --git a/netbox/templates/extras/configcontext.html b/netbox/templates/extras/configcontext.html
index 34b5d3c83..7afe73553 100644
--- a/netbox/templates/extras/configcontext.html
+++ b/netbox/templates/extras/configcontext.html
@@ -29,37 +29,9 @@
{% trans "Active" %} |
{% checkmark object.is_active %} |
-
- {% trans "Data Source" %} |
-
- {% if object.data_source %}
- {{ object.data_source }}
- {% else %}
- {{ ''|placeholder }}
- {% endif %}
- |
-
-
- {% trans "Data File" %} |
-
- {% if object.data_file %}
- {{ object.data_file }}
- {% elif object.data_path %}
-
-
-
- {{ object.data_path }}
- {% else %}
- {{ ''|placeholder }}
- {% endif %}
- |
-
-
- {% trans "Data Synced" %} |
- {{ object.data_synced|placeholder }} |
-
+ {% include 'core/inc/datafile_panel.html' %}
diff --git a/netbox/templates/extras/configcontextprofile.html b/netbox/templates/extras/configcontextprofile.html
index 69caa6fa7..658724196 100644
--- a/netbox/templates/extras/configcontextprofile.html
+++ b/netbox/templates/extras/configcontextprofile.html
@@ -19,6 +19,7 @@
+ {% include 'core/inc/datafile_panel.html' %}
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
diff --git a/netbox/templates/extras/exporttemplate.html b/netbox/templates/extras/exporttemplate.html
index 60e834c3f..eb8ec9135 100644
--- a/netbox/templates/extras/exporttemplate.html
+++ b/netbox/templates/extras/exporttemplate.html
@@ -35,37 +35,9 @@
{% trans "Attachment" %} |
{% checkmark object.as_attachment %} |
-
- {% trans "Data Source" %} |
-
- {% if object.data_source %}
- {{ object.data_source }}
- {% else %}
- {{ ''|placeholder }}
- {% endif %}
- |
-
-
- {% trans "Data File" %} |
-
- {% if object.data_file %}
- {{ object.data_file }}
- {% elif object.data_path %}
-
-
-
- {{ object.data_path }}
- {% else %}
- {{ ''|placeholder }}
- {% endif %}
- |
-
-
- {% trans "Data Synced" %} |
- {{ object.data_synced|placeholder }} |
-
+ {% include 'core/inc/datafile_panel.html' %}
{% plugin_left_page object %}