Skip to content

Commit

Permalink
Merge pull request #1287 from NatLibFi/fix-content-top
Browse files Browse the repository at this point in the history
Replace #concept-info-before div element with more generic #content-top
  • Loading branch information
joelit authored Mar 10, 2022
2 parents 958e067 + 3cc7f61 commit 58b4b20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions view/concept-shared.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<p class="language-alert">{% trans %}There is no term for this concept in this language{% endtrans %}</p>
</div>
{% endif %}
<div id="concept-info-before"></div>
<div class="concept-info{% if concept.deprecated %} deprecated-concept{% endif %}">
<div class="concept-main">
{% if bread_crumbs is defined %}
Expand Down Expand Up @@ -209,7 +208,6 @@
>
</div>
</div>
<div id="concept-info-after"></div>
{% endfor %}

{% else %}
Expand Down
6 changes: 4 additions & 2 deletions view/light.twig
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,10 @@
{% include 'vocabularylist.twig' %}
{% endif %}
<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">
{% block content %}
{% endblock %}
<div id="content-top"></div>
{% block content %}
{% endblock %}
<div id="content-bottom"></div>
</div>
</main>
{% endblock %}
Expand Down

0 comments on commit 58b4b20

Please sign in to comment.