diff --git a/BootstrapThreeThemePlugin.php b/BootstrapThreeThemePlugin.php index 0d82b98..5c3089f 100644 --- a/BootstrapThreeThemePlugin.php +++ b/BootstrapThreeThemePlugin.php @@ -14,7 +14,6 @@ namespace APP\plugins\themes\bootstrap3; use APP\core\Application; -use APP\i18n\AppLocale; use PKP\config\Config; use PKP\facades\Locale; use PKP\plugins\ThemePlugin; @@ -106,6 +105,7 @@ public function init() { 'label' => __('plugins.themes.bootstrap3.options.bootstrapTheme.yeti'), ], ], + 'default' => 'bootstrap3', ]); // Add usage stats display options diff --git a/styles/bootstrap.less b/styles/bootstrap.less index bed3a6b..6018026 100644 --- a/styles/bootstrap.less +++ b/styles/bootstrap.less @@ -314,3 +314,44 @@ footer[role="contentinfo"] { -ms-word-break: break-all; word-break: break-word; } + +// Editorial Masthead +.page_masthead { + .user_listing { + margin-top: 1em; + list-style-type: none; + padding: 0; + + li { + margin-bottom: 1.5em; + } + + li > span { + display: block; + } + + .name { + font-weight: bold; + } + + .affiliation { + color: @text-muted; + } + + .date_start { + color: @text-muted; + } + + .orcid { + font-size: @font-size-small; + margin-left: 0.2rem; + margin-right: 0.2rem; + } + + .orcid_icon { + width: 1.4rem; + height: 1.4rem; + margin: 0; + } + } +} diff --git a/templates/frontend/components/registrationForm.tpl b/templates/frontend/components/registrationForm.tpl index 9fc69a5..a63f491 100644 --- a/templates/frontend/components/registrationForm.tpl +++ b/templates/frontend/components/registrationForm.tpl @@ -32,9 +32,7 @@
diff --git a/templates/frontend/components/registrationFormContexts.tpl b/templates/frontend/components/registrationFormContexts.tpl index 9b4269b..1936597 100644 --- a/templates/frontend/components/registrationFormContexts.tpl +++ b/templates/frontend/components/registrationFormContexts.tpl @@ -42,14 +42,14 @@
{foreach from=$readerUserGroups[$contextId] item=userGroup} - {if $userGroup->getPermitSelfRegistration()} - {assign var="userGroupId" value=$userGroup->getId()} + {if $userGroup->permitSelfRegistration} + {assign var="userGroupId" value=$userGroup->id} {if in_array($userGroupId, $userGroupIds)} @@ -58,14 +58,14 @@ {/if} {/foreach} {foreach from=$reviewerUserGroups[$contextId] item=userGroup} - {if $userGroup->getPermitSelfRegistration()} - {assign var="userGroupId" value=$userGroup->getId()} + {if $userGroup->permitSelfRegistration} + {assign var="userGroupId" value=$userGroup->id} {if in_array($userGroupId, $userGroupIds)} diff --git a/templates/frontend/objects/announcement_full.tpl b/templates/frontend/objects/announcement_full.tpl index c1747c1..54096c7 100644 --- a/templates/frontend/objects/announcement_full.tpl +++ b/templates/frontend/objects/announcement_full.tpl @@ -1,8 +1,8 @@ {** * templates/frontend/objects/announcement_full.tpl * - * Copyright (c) 2014-2023 Simon Fraser University - * Copyright (c) 2003-2023 John Willinsky + * Copyright (c) 2014-2024 Simon Fraser University + * Copyright (c) 2003-2024 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @brief Display the full view of an announcement, when the announcement is @@ -14,18 +14,18 @@
- {if $announcement->getLocalizedDescription()} - {$announcement->getLocalizedDescription()|strip_unsafe_html} + {if $announcement->getLocalizedData('description')} + {$announcement->getLocalizedData('description')|strip_unsafe_html} {else} - {$announcement->getLocalizedDescriptionShort()|strip_unsafe_html} + {$announcement->getLocalizedData('descriptionShort')|strip_unsafe_html} {/if}
diff --git a/templates/frontend/objects/announcement_summary.tpl b/templates/frontend/objects/announcement_summary.tpl index 53eb12e..0607e7e 100644 --- a/templates/frontend/objects/announcement_summary.tpl +++ b/templates/frontend/objects/announcement_summary.tpl @@ -1,8 +1,8 @@ {** * templates/frontend/objects/announcement_summary.tpl * - * Copyright (c) 2014-2023 Simon Fraser University Library - * Copyright (c) 2003-2023 John Willinsky + * Copyright (c) 2014-2024 Simon Fraser University Library + * Copyright (c) 2003-2024 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @brief Display a summary view of an announcement @@ -12,14 +12,14 @@ diff --git a/templates/frontend/objects/article_details.tpl b/templates/frontend/objects/article_details.tpl index 20ca10c..ca8d076 100644 --- a/templates/frontend/objects/article_details.tpl +++ b/templates/frontend/objects/article_details.tpl @@ -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 *}
+ {* Indicate if this is only a preview *} + {if $publication->getData('status') !== PKP\submission\PKPSubmission::STATUS_PUBLISHED} + + {/if} {* Notification that this is an old version *} {if $currentPublication->getId() !== $publication->getId()}