-
Notifications
You must be signed in to change notification settings - Fork 99
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
3.5.0 compatibility #236
base: main
Are you sure you want to change the base?
3.5.0 compatibility #236
Changes from all commits
8d85b35
763b0d6
b8159d2
f6a9c0e
241f992
6f5907f
f0751ad
18b89a8
203b3f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,21 @@ | |
* @brief View of an Article which displays all details about the article. | ||
* Expected to be primary object on the page. | ||
* | ||
* @uses $article Article This article | ||
* @uses $article Submission This article | ||
* @uses $issue Issue The issue this article is assigned to | ||
* @uses $section Section The journal section this article is assigned to | ||
* @uses $keywords array List of keywords assigned to this article | ||
* @uses $pubIdPlugins @todo | ||
* @uses $pubIdPlugins Array of pubId plugins which this article may be assigned | ||
*} | ||
<article class="article-details"> | ||
|
||
{* Indicate if this is only a preview *} | ||
{if $publication->getData('status') !== PKP\submission\PKPSubmission::STATUS_PUBLISHED} | ||
<div class="alert alert-warning" role="alert"> | ||
{capture assign="submissionUrl"}{url page="workflow" op="access" path=$article->getId()}{/capture} | ||
{translate key="submission.viewingPreview" url=$submissionUrl} | ||
</div> | ||
{/if} | ||
{* Notification that this is an old version *} | ||
{if $currentPublication->getId() !== $publication->getId()} | ||
<div class="alert alert-warning" role="alert"> | ||
|
@@ -166,15 +173,18 @@ | |
{if $author->getLocalizedAffiliation()} | ||
<div class="article-author-affiliation"> | ||
{$author->getLocalizedAffiliation()|escape} | ||
{if $author->getData('rorId')} | ||
<a href="{$author->getData('rorId')|escape}">{$rorIdIcon}</a> | ||
{/if} | ||
</div> | ||
{/if} | ||
{if $author->getOrcid()} | ||
{if $author->getData('orcid')} | ||
<div class="orcid"> | ||
{if $author->getData('orcidAccessToken')} | ||
{$orcidIcon} | ||
{/if} | ||
<a href="{$author->getOrcid()|escape}" target="_blank"> | ||
{$author->getOrcid()|escape} | ||
<a href="{$author->getData('orcid')|escape}" target="_blank"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Worth pinging @ewhanson to see how this might change with his nearly-complete ORCiD work. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is already compliant with ORCID move to the core -- I am not sure, but I think the way orcid is displayed should not change any more, but maybe to double check. If it changes, it will change in the core and then also themes need to be considered (again)... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I confirmed with @ewhanson that there aren't further changes planned to ORCID for 3.5 that will impact the templates. |
||
{$author->getData('orcid')|escape} | ||
</a> | ||
</div> | ||
{/if} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is subject to change based on @GaziYucel's active work on RORs and multiple affiliations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm keeping an eye on that issue and can either wait to merge the theme updates or do another PR once that has been merged.