Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display ORCID Icon only when authenticated #223

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Conversation

mhvezina
Copy link
Contributor

@mhvezina mhvezina commented Jul 9, 2024

If I'm not wrong, in order to display the ORCID icon only when the user is authenticated, we need to add a condition, similar to what we have for the default theme. Thank you.

ref: pkp/ojs#3865

I believe that to display the ORCID icon only when the user is authenticated, we need to add a condition, similar to what we have for the default theme. (https://github.com/pkp/ojs/blob/7e803f98b0fc90679e796eee69a9bfbed67849d4/templates/frontend/objects/article_details.tpl#L132)
ref: https://github.com/pkp/ojs/pull/3865/files
@asmecher
Copy link
Member

asmecher commented Jul 9, 2024

@kaitlinnewson, could you have a look at this one?

@kaitlinnewson kaitlinnewson self-assigned this Jul 15, 2024
@bozana
Copy link
Contributor

bozana commented Jul 15, 2024

Hi @kaitlinnewson, I documented here pkp/pkp-lib#9912 that we would need to take a look at all theme plugins, to integrate the new ORCID icon properly, in the same way as in article_details.tpl in the defualt theme. So if you would like to take a look at them all now it would be great, but it can also stay for later -- it is documented in that issue so that we do not forget it before 3.5 :-)

@kaitlinnewson
Copy link
Member

Hi @mhvezina, thanks for the PR! I made a small addition to add styling to the icon, and will go ahead and merge this.

@kaitlinnewson kaitlinnewson merged commit 9b861f4 into pkp:main Aug 6, 2024
kaitlinnewson added a commit that referenced this pull request Aug 13, 2024
* Display ORCID Icon only when authenticated 
* orcid icon styles
---------

Co-authored-by: Kaitlin Newson <[email protected]>
kaitlinnewson added a commit that referenced this pull request Aug 13, 2024
* Display ORCID Icon only when authenticated 
* orcid icon styles
---------

Co-authored-by: Kaitlin Newson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants