Skip to content

Commit 58b4b20

Browse files
authored
Merge pull request #1287 from NatLibFi/fix-content-top
Replace #concept-info-before div element with more generic #content-top
2 parents 958e067 + 3cc7f61 commit 58b4b20

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

view/concept-shared.twig

-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<p class="language-alert">{% trans %}There is no term for this concept in this language{% endtrans %}</p>
1313
</div>
1414
{% endif %}
15-
<div id="concept-info-before"></div>
1615
<div class="concept-info{% if concept.deprecated %} deprecated-concept{% endif %}">
1716
<div class="concept-main">
1817
{% if bread_crumbs is defined %}
@@ -209,7 +208,6 @@
209208
>
210209
</div>
211210
</div>
212-
<div id="concept-info-after"></div>
213211
{% endfor %}
214212

215213
{% else %}

view/light.twig

+4-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,10 @@
180180
{% include 'vocabularylist.twig' %}
181181
{% endif %}
182182
<div class="{% if global_search %}global-{% elseif request.page == 'vocab' and not request.vocab.config.showAlphabeticalIndex and not request.vocab.config.showTopConcepts and not request.vocab.config.showChangeList %}wide-{% endif %}content">
183-
{% block content %}
184-
{% endblock %}
183+
<div id="content-top"></div>
184+
{% block content %}
185+
{% endblock %}
186+
<div id="content-bottom"></div>
185187
</div>
186188
</main>
187189
{% endblock %}

0 commit comments

Comments
 (0)