diff --git a/api/v1/submissions/index.php b/api/v1/submissions/index.php index 7d83186140..8fc8def0d1 100644 --- a/api/v1/submissions/index.php +++ b/api/v1/submissions/index.php @@ -29,6 +29,8 @@ return new \PKP\handler\APIHandler(new \PKP\API\v1\submissions\tasks\EditorialTaskController()); } elseif (strpos($requestPath, '/dataCitations')) { return new \PKP\handler\APIHandler(new \PKP\API\v1\dataCitations\PKPDataCitationController()); +} elseif (strpos($requestPath, '/funders')) { + return new \PKP\handler\APIHandler(new \PKP\API\v1\funders\PKPFunderController()); } elseif (strpos($requestPath, '/mediaFiles')) { return new \PKP\handler\APIHandler(new \PKP\API\v1\submissions\MediaFilesController()); } else { diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml index 3c67e51926..2530f552a0 100644 --- a/dbscripts/xml/upgrade.xml +++ b/dbscripts/xml/upgrade.xml @@ -179,6 +179,7 @@ + diff --git a/lib/pkp b/lib/pkp index 1a5a8b1d7e..2ac85d373c 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit 1a5a8b1d7e52ad079e4a669d4a6f3795cab9e61f +Subproject commit 2ac85d373cc627f7563940bc09263d8f517faed2 diff --git a/lib/ui-library b/lib/ui-library index 3f97137cef..1988c00397 160000 --- a/lib/ui-library +++ b/lib/ui-library @@ -1 +1 @@ -Subproject commit 3f97137cef11b99042ee8bcc96ff0dfe5dcf84e4 +Subproject commit 1988c0039783751772da3be406524ddf7e0f8b80 diff --git a/templates/frontend/objects/monograph_full.tpl b/templates/frontend/objects/monograph_full.tpl index 1cb3b6418f..8e6be87fad 100644 --- a/templates/frontend/objects/monograph_full.tpl +++ b/templates/frontend/objects/monograph_full.tpl @@ -432,6 +432,38 @@ {/if} + {* Funders *} + {if $publication->getData('funders')} +
+

+ {translate key="submission.funders"} +

+
+
    + {foreach from=$publication->getData('funders') item=funder} +
  • + + {$funder->getLocalizedData('name')|escape} + {if $funder->ror}{$rorIdIcon}{/if} + + {if $funder->grants} +
      + {foreach from=$funder->grants item=grant} +
    • + {if $grant.grantName}{$grant.grantName|escape}
      {/if} + {if $grant.grantNumber}{translate key="submission.funders.funder.grant.number"} {$grant.grantNumber|escape}
      {/if} + {if $grant.grantDoi}{translate key="submission.funders.funder.grant.doi"} https://doi.org/{$grant.grantDoi|escape}{/if} +
    • + {/foreach} +
    + {/if} +
  • + {/foreach} +
+
+
+ {/if} + {* Copyright statement *} {if $publication->getData('copyrightYear') && $publication->getLocalizedData('copyrightHolder')}