{% load i18n %}

{% if linked_terms %}
<ul class="datasheet-group notice-term-list">
    {% for term in linked_terms.translated %}
        <li class="notice-term term-translated">
            <a href="{% url 'front_search' %}?dbpedia_uri={{term.dbpedia_uri|urlencode}}" data-dbpedia-uri="{{term.dbpedia_uri}}">{{term.label}}</a>
        </li>
    {% endfor %}
    {% for term in linked_terms.untranslated %}
        <li class="notice-term term-untranslated" dir="ltr">{{term.label}}</li>
    {% endfor %}
</ul>
{% elif base_field %}
<span class="datasheet-group" dir="ltr">{{base_field}}</span>
{% endif %}

