Compare commits
No commits in common. '2c6205455e1a81c1c2518fe5f4947dd437037edc' and '34c68349b16621bce964e9b10a8b2b0d9eb79261' have entirely different histories.
2c6205455e
...
34c68349b1
2 changed files with 0 additions and 47 deletions
@ -1,32 +0,0 @@ |
|||||||
{# |
|
||||||
/** |
|
||||||
* @file |
|
||||||
* Theme override for the ORCID field. |
|
||||||
* |
|
||||||
* This is an override of field.html.twig for the node title field. See that |
|
||||||
* template for documentation about its details and overrides. |
|
||||||
* |
|
||||||
* Available variables: |
|
||||||
* - attributes: HTML attributes for the containing span element. |
|
||||||
* - items: List of all the field items. Each item contains: |
|
||||||
* - attributes: List of HTML attributes for each item. |
|
||||||
* - content: The field item content. |
|
||||||
* - entity_type: The entity type to which the field belongs. |
|
||||||
* - field_name: The name of the field. |
|
||||||
* - field_type: The type of the field. |
|
||||||
* - label_display: The display settings for the label. |
|
||||||
* |
|
||||||
* @see field.html.twig |
|
||||||
*/ |
|
||||||
#} |
|
||||||
{% |
|
||||||
set classes = [ |
|
||||||
'field', |
|
||||||
'field--name-' ~ field_name|clean_class, |
|
||||||
'field--type-' ~ field_type|clean_class, |
|
||||||
'field--label-' ~ label_display, |
|
||||||
'orcid-short-link', |
|
||||||
] |
|
||||||
%} |
|
||||||
<a href="https://orcid.org/{{ items.0 }}" {{ attributes.addClass(classes) }}><img class="orcid_logo" alt="ORCID logo" src="https://info.orcid.org/wp-content/uploads/2019/11/orcid_16x16.png" width="16" height="16" /> |
|
||||||
{#{{ items }}#}</a> |
|
Loading…
Reference in new issue