Merge pull request #143 from utnapischtim/feature/frontpage-fixes

Feature/frontpage fixes
This commit is contained in:
Christoph Ladurner
2021-01-18 13:32:41 +01:00
committed by GitHub
2 changed files with 7 additions and 4 deletions

View File

@@ -98,6 +98,10 @@
<span class="access-right">
<i class="icon lock open"></i>
{{ r.access.access_right | make_dict_like('access_right') | vocabulary_title('access_right') }}
{%- for right in r.metadata.rights %}
<a target="_blank" href="{{right.url}}">{{ '(' ~ right.identifier ~ ')' }}</a>
{%- endfor %}
</span>
</div>
</div>

View File

@@ -1,8 +1,7 @@
{#
Copyright (C) 2020 Zenodo
Copyright (C) 2020 TUGRAZ
Copyright (C) 2020 mojib wali.
invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
@@ -12,7 +11,7 @@
{%- for creators in authors_list %}
{%- if creators.identifiers.orcid %}
{%- if creators.identifiers and creators.identifiers.orcid %}
<a href="{{creators.identifiers.orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a>
{%- endif %}
@@ -28,4 +27,4 @@
<h5>{{group.grouper}}(s)</h5>
{{authors(group.list)}}
{%- endfor %}
{%- endmacro %}
{%- endmacro %}