Skip to content

Commit

Permalink
pkp/pkp-lib#1828 use semicolon locale key for DOI and keywords display
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Sep 1, 2017
1 parent 6dc2279 commit 400fd2f
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions templates/frontend/objects/article_details.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@
{assign var="doiUrl" value=$pubIdPlugin->getResolvingURL($currentJournal->getId(), $pubId)|escape}
<div class="item doi">
<span class="label">
{translate key="plugins.pubIds.doi.readerDisplayName"}
{capture assign=translatedDOI}{translate key="plugins.pubIds.doi.readerDisplayName"}{/capture}
{translate key="semicolon" label=$translatedDOI}
</span>
<span class="value">
<a href="{$doiUrl}">
Expand All @@ -133,7 +134,8 @@
{if !empty($keywords[$currentLocale])}
<div class="item keywords">
<span class="label">
{translate key="article.subject"}
{capture assign=translatedKeywords}{translate key="article.subject"}{/capture}
{translate key="semicolon" label=$translatedKeywords}
</span>
<span class="value">
{foreach from=$keywords item=keyword}
Expand Down Expand Up @@ -318,21 +320,6 @@
{/if}
</div>

{* Keywords *}
{* @todo keywords not yet implemented *}

{* Article Subject *}
{if $article->getLocalizedSubject()}
<div class="item subject">
<h3 class="label">
{translate key="article.subject"}
</h3>
<div class="value">
{$article->getLocalizedSubject()|escape}
</div>
</div>
{/if}

{* PubIds (requires plugins) *}
{foreach from=$pubIdPlugins item=pubIdPlugin}
{if $pubIdPlugin->getPubIdType() == 'doi'}
Expand Down

0 comments on commit 400fd2f

Please sign in to comment.