Skip to content

Commit be35313

Browse files
committed
WIP end Friday
1 parent 8a3192a commit be35313

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/themes/clean/templates/journal/collections.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% block title %}{% trans issue_type.plural_name %}{% endblock %}
88

99
{% block body %}
10-
10+
<h1> {% trans issue_type.plural_name %} </h1>
1111
<div class="row">
1212
{% for collection in collections %}
1313
<div class="col-md-4 row-eq-height">
@@ -20,7 +20,7 @@
2020
>
2121
<div class="card-block">
2222
<a href="{% url 'journal_collection' collection.pk %}">
23-
{# HeadingA11y #} <h4 class="card-title">{{ collection.issue_title }}</h4>
23+
<h2 class="card-title">{{ collection.issue_title }}</h2>
2424
</a>
2525
<p class="card-text"><small>Published: {{ collection.date|date:"d/m/y" }}</small></p>
2626
{% if collection.short_description %}
@@ -33,7 +33,7 @@
3333
</div>
3434
</div>
3535
{% empty %}
36-
{# HeadingA11y #} <h4>{% trans 'There are no collections to display' %}</h4>
36+
<h2>{% trans 'There are no collections to display' %}</h2>
3737
{% endfor %}
3838
</div>
3939

src/themes/material/templates/journal/collections.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% block title %}{% trans issue_type.plural_name %}{% endblock %}
88

99
{% block body %}
10-
10+
<h1> {% trans issue_type.plural_name %} </h1>
1111
<div class="row">
1212
{% for collection in collections %}
1313
<div class="col s12 m6 l4">
@@ -19,7 +19,7 @@
1919
alt="{{ collection.issue_title }}"
2020
onerror="if (this.src !='{% static 'common/img/sample/article-small.jpg' %}') this.src='{% static 'common/img/sample/article-small.jpg' %}'"
2121
>
22-
<a href="{% url 'journal_collection' collection.id %}" class="carousel-text-wrapper card-title" style="width:100%">{{ collection.issue_title }}</a>
22+
<h2><a href="{% url 'journal_collection' collection.id %}" class="carousel-text-wrapper card-title" style="width:100%">{{ collection.issue_title }}</a></h2>
2323
</div>
2424
<div class="card-content scroll-y">
2525
<p>Published: {{ collection.date|date:"d/m/y" }}</p>
@@ -35,7 +35,7 @@
3535
</div>
3636
</div>
3737
{% empty %}
38-
{# HeadingA11y #} <h4>{% trans "There are no collections to display" %}</h4>
38+
<h2>{% trans "There are no collections to display" %}</h2>
3939
{% endfor %}
4040
</div>
4141

0 commit comments

Comments
 (0)