Skip to content

Commit

Permalink
fixing the missing prefLabel language tag when showing a fallback lab…
Browse files Browse the repository at this point in the history
…el, related to #688
  • Loading branch information
Henri Ylikotila committed Jan 22, 2018
1 parent 4264c48 commit 548ef9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/concept-shared.twig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>
{% else %}
<div class="property-value-column">{% if concept.notation %}<span class="notation">{{ concept.notation }}</span>{% endif %}
{% if concept.hasXlLabel %}<span class="reified-property-value xl-pref-label"><img src="resource/pics/about.png"></span><div class="reified-tooltip">{% for key, val in concept.xlLabel.properties %}{% if key != 'rdf:type' and key != 'skosxl:literalForm' %}<p>{{ key|trans }}: <span class="versal">{{ val }}</span></p>{% endif %}{% endfor %}</div><span class="prefLabel">{{ concept.xlLabel }}</span>{% else %}<span class="prefLabel conceptlabel">{{ concept.label }}</span>{% endif %}
{% if concept.hasXlLabel %}<span class="reified-property-value xl-pref-label"><img src="resource/pics/about.png"></span><div class="reified-tooltip">{% for key, val in concept.xlLabel.properties %}{% if key != 'rdf:type' and key != 'skosxl:literalForm' %}<p>{{ key|trans }}: <span class="versal">{{ val }}</span></p>{% endif %}{% endfor %}</div><span class="prefLabel">{{ concept.xlLabel }}</span>{% else %}<span class="prefLabel conceptlabel">{{ concept.label }}</span>{% if concept.label.lang != request.contentLang %}<span class="prefLabelLang"> ({{ concept.label.lang }})</span>{% endif %}{% endif %}
</div>
{% endif %}
<div class="col-md-12"><div class="preflabel-spacer"></div></div>
Expand Down

0 comments on commit 548ef9e

Please sign in to comment.