mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
ui: change title to data-tooltip
This commit is contained in:
committed by
Mojib Wali
parent
7623af2fb1
commit
1ad73cc001
@@ -58,12 +58,12 @@
|
||||
-->
|
||||
<div class="badges">
|
||||
<!--Publication date/Version badge-->
|
||||
<span class="ui label blue" title="{{_('Publication date')}}">
|
||||
<span class="ui label blue" data-tooltip="{{_('Publication date')}}" data-inverted="">
|
||||
{{ r.metadata.publication_date }} {{ '(' ~ r.metadata.version ~ ')' if r.metadata.version }}
|
||||
</span>
|
||||
|
||||
<!--Resource type badge-->
|
||||
<span class="ui label grey" title="{{_('Resource type')}}">
|
||||
<span class="ui label grey" data-tooltip="{{_('Resource type')}}" data-inverted>
|
||||
{{r.metadata.resource_type | cast_to_dict | vocabulary_title('resource_type') }}
|
||||
</span>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<a href="{{creators.identifiers.orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a>
|
||||
{%- endif %}
|
||||
|
||||
<span class="text-muted" {% if creators.affiliations %} {% for affiliation in creators.affiliations %} data-toggle="tooltip" title="{{affiliation.name}}" {%- endfor %} {% endif %}>{{creators.person_or_org.name}}</span>
|
||||
<span class="text-muted" {% if creators.affiliations %} {% for affiliation in creators.affiliations %} data-tooltip="{{affiliation.name}}" data-inverted="" {%- endfor %} {% endif %}>{{creators.person_or_org.name}}</span>
|
||||
{% if not loop.last %}; {% endif %}
|
||||
|
||||
{%- endfor %}
|
||||
|
||||
Reference in New Issue
Block a user