Skip to content

Commit

Permalink
#83 Rename title variable for the PDF galley page
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Oct 31, 2022
1 parent f7f28f9 commit e282ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/plugins/generic/pdfJsViewer/templates/display.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*}
<!DOCTYPE html>
<html lang="{$currentLocale|replace:"_":"-"}" xml:lang="{$currentLocale|replace:"_":"-"}">
{capture assign="pageTitleTranslated"}{translate key="article.pageTitle" title=$article->getLocalizedTitle()|escape}{/capture}
{capture assign="pageTitleTranslated"}{translate key="article.pageTitle" title=$title|escape}{/capture}
{include file="frontend/components/header.tpl"}

<body class="pkp_page_{$requestedPage|escape} pkp_op_{$requestedOp|escape}">
Expand All @@ -44,7 +44,7 @@
</span>
</a>
</p>
<h1>{$article->getLocalizedTitle()|escape}</h1>
<h1>{$title|escape}</h1>

{if !$isLatestPublication}
<div role="alert">
Expand Down

0 comments on commit e282ee8

Please sign in to comment.