diff --git a/core/components/com_publications/admin/language/en-GB/en-GB.com_publications.ini b/core/components/com_publications/admin/language/en-GB/en-GB.com_publications.ini index 177932a48db..af1543b3f59 100644 --- a/core/components/com_publications/admin/language/en-GB/en-GB.com_publications.ini +++ b/core/components/com_publications/admin/language/en-GB/en-GB.com_publications.ini @@ -665,6 +665,8 @@ COM_PUBLICATIONS_CONFIG_FTP_DOC="FTP download guide" COM_PUBLICATIONS_CONFIG_FTP_DOC_DESC="A guide regarding how to download large dataset using ftp client" COM_PUBLICATIONS_CONFIG_SEARCH_CATEGORY="Search category" COM_PUBLICATIONS_CONFIG_SEARCH_CATEGORY_DESC="Search category in tag section of publication submission" +COM_PUBLICATIONS_CONFIG_DATA_PUBLISHING_GUIDE="Data Publishing Self Assessment Guide" +COM_PUBLICATIONS_CONFIG_DATA_PUBLISHING_GUIDE_DESC="A self assessment guide for user to understand what is required in data publishing" ; Types COM_PUBLICATIONS_TYPES="Types" diff --git a/core/components/com_publications/config/config.xml b/core/components/com_publications/config/config.xml index 772d243e254..62c38402a13 100644 --- a/core/components/com_publications/config/config.xml +++ b/core/components/com_publications/config/config.xml @@ -47,6 +47,7 @@ +
diff --git a/core/plugins/projects/publications/language/en-GB/en-GB.plg_projects_publications.ini b/core/plugins/projects/publications/language/en-GB/en-GB.plg_projects_publications.ini index cf36129416b..d31a1842468 100644 --- a/core/plugins/projects/publications/language/en-GB/en-GB.plg_projects_publications.ini +++ b/core/plugins/projects/publications/language/en-GB/en-GB.plg_projects_publications.ini @@ -205,6 +205,7 @@ PLG_PROJECTS_PUBLICATIONS_PLEASE_USE="Please use" PLG_PROJECTS_PUBLICATIONS_RELEASE_DATE="Public release date" PLG_PROJECTS_PUBLICATIONS_ARCHIVED_ON="Archived on" PLG_PROJECTS_PUBLICATIONS_ARCHIVED_NO_CHANGE="This publication version can no longer be modified in any way." +PLG_PROJECTS_PUBLICATIONS_SELF_ASSESSMENT_GUIDE="Data Publishing Self Assessment Guide" PLG_PROJECTS_PUBLICATIONS_DISK_USAGE="Disk usage" PLG_PROJECTS_PUBLICATIONS_DISK_USAGE_TOOLTIP="View disk usage" diff --git a/core/plugins/projects/publications/views/browse/tmpl/default.php b/core/plugins/projects/publications/views/browse/tmpl/default.php index 1306092f5e8..a4bf7e71d8b 100644 --- a/core/plugins/projects/publications/views/browse/tmpl/default.php +++ b/core/plugins/projects/publications/views/browse/tmpl/default.php @@ -24,6 +24,7 @@ } $inuse = ($inuse > 100) ? 100 : $inuse; $approachingQuota = $this->project->config('approachingQuota', 85); +$selfAssessmentGuide = $this->pub->config()->get('data_publishing_self_assessment_guide', ''); $approachingQuota = intval($approachingQuota) > 0 ? $approachingQuota : 85; $warning = ($inuse > $approachingQuota) ? 1 : 0; @@ -43,6 +44,11 @@ + +
  • + +
  • +