Skip to content

Commit

Permalink
Merge pull request #1010 from NatLibFi/issue554-fix-search-result
Browse files Browse the repository at this point in the history
Fix double display of concept group on search result page
  • Loading branch information
osma authored Jun 18, 2020
2 parents a4bc432 + e29b3bd commit 258c04a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions view/search-result.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,6 @@
</div>
{% endif %}
{% endfor %}
{% if concept.groupProperties %}
<div class="property">
<span class="property-click" title="{% trans "skosmos:memberOf" %}">
<img class="property-hover" src="resource/pics/group.gif">
</span>
<div class="property-values">
{% for groupprop in concept.groupProperties %}
{% for propval in groupprop %}
<span class="versal value">{{ propval.label(request.contentLang) }}</span>
{% if propval.lang and (propval.lang != request.lang) or explicit_langcodes %}<span class="versal"> ({{ propval.lang }})</span>{% endif %}
{% if not loop.last %}<span class="versal"> &#62; </span>{% endif %}
{% endfor %}
{%- if not loop.last %},{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% set foreignLabels = concept.foreignLabels %}
{% if foreignLabels %}
<div class="property">
Expand Down

0 comments on commit 258c04a

Please sign in to comment.