Skip to content

Commit cd81834

Browse files
authored
Merge pull request #6 from OpenDataServices/add_terms_block_to_template
Add terms block to template
2 parents c7dbb63 + edcc397 commit cd81834

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ When upgrading to this version, `ALLOWED_UNKNOWN_CONTENT_TYPES` must be set in t
1111

1212
## Added
1313

14+
- base.html: Wrap default terms and conditions in template block so it can be overridden
1415
- utils.py: get_file_type_for_flatten_tool: consider content type too
1516
- settings.ALLOWED_UNKNOWN_CONTENT_TYPES.
1617

libcoveweb2/templates/libcoveweb2/base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ <h4>{% trans "About" %}</h4>
120120
{% endblock %}
121121
</ul>
122122
<ul class="text-muted">
123+
{% block terms %}
123124
<li><a href="{% url 'terms' %}">{% trans "Terms &amp; Conditions" %}</a></li>
125+
{% endblock %}
124126
</ul>
125127
{% comment %}Translators: Provides information about the version of the code base that is being used{% endcomment %}
126128
{% block version_link %}

0 commit comments

Comments
 (0)