Skip to content

Commit

Permalink
edit link for about template
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlinnewson committed Dec 18, 2024
1 parent b8159d2 commit f6a9c0e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 28 deletions.
2 changes: 1 addition & 1 deletion BootstrapThreeThemePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function init() {
'label' => __('plugins.themes.bootstrap3.options.bootstrapTheme.yeti'),
],
],
'default' => 'bootstrap3',
'default' => 'bootstrap3',
]);

// Add usage stats display options
Expand Down
30 changes: 15 additions & 15 deletions templates/frontend/objects/article_details.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +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}
{* 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">
Expand Down Expand Up @@ -173,18 +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}
{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">
{$author->getData('orcid')|escape}
</a>
</div>
{/if}
Expand Down
5 changes: 4 additions & 1 deletion templates/frontend/pages/about.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@

{* Page Title *}
<div class="page-header">
<h1>{translate key="about.aboutContext"}</h1>
<h1>
{translate key="about.aboutContext"}
</h1>
{include file="frontend/components/editLink.tpl" page="management" op="settings" path="context" anchor="masthead" sectionTitleKey="about.aboutContext"}
</div>
{* /Page Title *}

Expand Down
10 changes: 5 additions & 5 deletions templates/frontend/pages/editorialHistory.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<div id="main-content" class="page page_masthead">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="common.editorialHistory"}

{* Page Title *}
<div class="page-header">
<h1>{translate key="common.editorialHistory.page"}</h1>
</div>
{* /Page Title *}
{* Page Title *}
<div class="page-header">
<h1>{translate key="common.editorialHistory.page"}</h1>
</div>
{* /Page Title *}

<p>{translate key="common.editorialHistory.page.description"}</p>
{foreach from=$mastheadRoles item="mastheadRole"}
Expand Down
12 changes: 6 additions & 6 deletions templates/frontend/pages/editorialMasthead.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<div id="main-content" class="page page_masthead">
{include file="frontend/components/breadcrumbs.tpl" currentTitleKey="common.editorialMasthead"}

{* Page Title *}
<div class="page-header">
<h1>{translate key="common.editorialMasthead"}</h1>
</div>
{* /Page Title *}
{* Page Title *}
<div class="page-header">
<h1>{translate key="common.editorialMasthead"}</h1>
</div>
{* /Page Title *}

{foreach from=$mastheadRoles item="mastheadRole"}
{if array_key_exists($mastheadRole->getId(), $mastheadUsers)}
Expand All @@ -28,7 +28,7 @@
{strip}
<span class="date_start">{translate key="common.fromUntil" from=$mastheadUser['dateStart'] until=""}</span>
<span class="name">
{$mastheadUser['user']->getFullName()|escape}
{$mastheadUser['user']->getFullName()|escape}
{if $mastheadUser['user']->getData('orcid') && $mastheadUser['user']->getData('orcidAccessToken')}
<span class="orcid">
<a href="{$mastheadUser['user']->getData('orcid')|escape}" target="_blank" aria-label="{translate key="common.editorialHistory.page.orcidLink" name=$mastheadUser['user']->getFullName()|escape}">
Expand Down

0 comments on commit f6a9c0e

Please sign in to comment.