Skip to content

Commit

Permalink
accounts: add ORCID icon
Browse files Browse the repository at this point in the history
* Adds ORCID icon to sign-up and sign-in with ORCID button.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
  • Loading branch information
Sébastien Délèze committed Apr 16, 2020
1 parent e06d3b8 commit 50b641c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sonar/theme/static/images/orcid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sonar/theme/templates/sonar/accounts/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h4 class="text-center mb-4">{{_('Log in to account') }}</h3>
<a href="{{ url_for('invenio_oauthclient.login', remote_app='orcid') }}"
class="btn btn-outline-primary btn-block">
{% trans type='ORCID' %}Sign-in with {{ type }}{% endtrans %}
<img src="{{ url_for('static', filename='images/orcid.svg')}}" alt="ORCID" width="20">
</a>
</div>
<div class="col">
Expand Down
1 change: 1 addition & 0 deletions sonar/theme/templates/sonar/accounts/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ <h4 class="text-center mb-4">
<a href="{{ url_for('invenio_oauthclient.login', remote_app='orcid') }}"
class="btn btn-outline-primary btn-block">
{% trans type='ORCID' %}Sign-up with {{ type }}{% endtrans %}
<img src="{{ url_for('static', filename='images/orcid.svg')}}" alt="ORCID" width="20">
</a>
</div>
<div class="col">
Expand Down

0 comments on commit 50b641c

Please sign in to comment.