Skip to content

Commit

Permalink
Merge pull request #2081 from laws-africa/collections
Browse files Browse the repository at this point in the history
Change taxonomies and topics to collections on Africanlii
  • Loading branch information
actlikewill authored Sep 30, 2024
2 parents 3da4c38 + d7f5fef commit fe8f66c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion africanlii/templates/peachjam/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<li class="nav-item">
<a class="nav-link {% if view.navbar_link == 'taxonomy' %}active{% endif %}"
href="{% url 'top_level_taxonomy_list' %}">
{% trans 'Topics' %}</a>
{% trans 'Collections' %}</a>
</li>
<li class="nav-item">
<a class="nav-link {% if view.navbar_link == 'reports_guides' %}active{% endif %}"
Expand Down
8 changes: 8 additions & 0 deletions africanlii/templates/peachjam/taxonomy_list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "peachjam/taxonomy_list.html" %}
{% load i18n %}
{% block title %}
{% trans 'Collections' %}
{% endblock %}
{% block page-heading %}
<h1 class="mb-4">{% trans 'Collections' %}</h1>
{% endblock %}
6 changes: 4 additions & 2 deletions peachjam/templates/peachjam/taxonomy_list.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{% extends "peachjam/layouts/main.html" %}
{% load i18n %}
{% block title %}
{% trans 'Taxonomy' %}
{% trans 'Taxonomies' %}
{% endblock %}
{% block page-content %}
<section class="container pt-4 pb-5">
<h1 class="mb-4">{% trans 'Taxonomies' %}</h1>
{% block page-heading %}
<h1 class="mb-4">{% trans 'Taxonomies' %}</h1>
{% endblock %}
{% include 'peachjam/_taxonomy_list.html' %}
</section>
{% endblock %}

0 comments on commit fe8f66c

Please sign in to comment.