Skip to content

Commit ba12481

Browse files
committed
Update for 3.2 compatibity; release 1.1.0-0
1 parent 60eb207 commit ba12481

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

templates/blockAuthors.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{foreach from=$article->getAuthors() item=author key=authorNumber}
2222
<li class="entry_author_block{if $authorNumber > 4} limit-for-mobiles{elseif $authorNumber === 4} fifth-author{/if}">
2323
{if $author->getOrcid()}
24-
<a class="orcid-image-url" href="{$author->getOrcid()}"><img src="{$baseUrl}/{$orcidImageUrl}"></a>
24+
<a class="orcid-image-url" href="{$author->getOrcid()}">{$orcidIcon}</a>
2525
{/if}
2626
<span class="name_wrapper">
2727
{$author->getFullName()|escape}

templates/blockReferences.tpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
*
99
*}
1010
{* References *}
11-
{if $parsedCitations->getCount() || $article->getCitations()}
11+
{if $parsedCitations || $publication->getData('citationsRaw')}
1212
<div class="pkp_block block_inline_html_references">
1313
<span class="title"> {translate key="submission.citations"} </span>
1414
<div class="content">
1515
<div class="item references">
16-
{if $parsedCitations->getCount()}
16+
{if $parsedCitations}
1717
<ol class="references-list">
18-
{iterate from=parsedCitations item=parsedCitation}
18+
{foreach from=parsedCitations item=parsedCitation}
1919
<li>{$parsedCitation->getCitationWithLinks()|strip_unsafe_html} {call_hook name="Templates::Article::Details::Reference" citation=$parsedCitation}</li>
20-
{/iterate}
20+
{/foreach}
2121
</ol>
22-
{elseif $article->getCitations()}
22+
{else}
2323
<div class="value">
24-
{$article->getCitations()|nl2br}
24+
{$publication->getData('citationsRaw')|nl2br}
2525
</div>
2626
{/if}
2727
</div>

version.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<version>
1515
<application>inlineHtmlGalley</application>
1616
<type>plugins.generic</type>
17-
<release>1.0.0.0</release>
18-
<date>2020-10-14</date>
17+
<release>1.1.0.0</release>
18+
<date>2021-08-02</date>
1919
<lazy-load>1</lazy-load>
2020
<class>InlineHtmlGalleyPlugin</class>
2121
</version>

0 commit comments

Comments
 (0)