Skip to content

Commit 2ef8c30

Browse files
committed
Move to include
1 parent 9c32099 commit 2ef8c30

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<p class="empty">
2+
This is a beta feature, it can be enabled by <a href="mailto:{{ SUPPORT_EMAIL }}">asking support</a>.
3+
</p>

readthedocs/templates/projects/project_traffic_analytics.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
{% if not enabled %}
1616
{% block disabled %}
17-
<p class="empty">
18-
This beta feature can be enabled by <a href="mailto:{{ SUPPORT_EMAIL }}">asking support</a>.
19-
</p>
17+
{% include 'projects/includes/feature_disabled.html' %}
2018
{% endblock %}
2119
{% endif %}
2220

readthedocs/templates/projects/projects_search_analytics.html

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
{% if not enabled %}
1616
{% block disabled %}
17+
{% include 'projects/includes/feature_disabled.html' %}
1718
{% endblock %}
1819
{% endif %}
1920

0 commit comments

Comments
 (0)