OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fixes: https://github.com/opf/openproject/pull/18150#discussion_r2001228931
as-op03669f342266
diff --git a/app/models/work_package/pdf_export/export/report/schema.json b/app/models/work_package/pdf_export/export/report/schema.jsonindex 1e1d66df0f7..a80019e9eca 100644--- a/app/models/work_package/pdf_export/export/report/schema.json+++ b/app/models/work_package/pdf_export/export/report/schema.json@@ -1,6 +1,6 @@{"type" : "object",- "title" : "Report",+ "title" : "Report, Gantt and Table PDF","description" : "This document describes the style settings format for the [PDF Export styling file](https://github.com/opf/openproject/blob/dev/app/models/work_package/pdf_export/report/standard.yml)","properties" : {"page" : {diff --git a/app/models/work_package/pdf_export/export/timesheet/schema.json b/app/models/work_package/pdf_export/export/timesheet/schema.jsonindex 665dbfe36f9..000143a8335 100644--- a/app/models/work_package/pdf_export/export/timesheet/schema.json+++ b/app/models/work_package/pdf_export/export/timesheet/schema.json@@ -1,6 +1,6 @@{"type" : "object",- "title" : "Timesheet (Cost module)",+ "title" : "Timesheet PDF","description" : "This document describes the style settings format for the [PDF Export styling file](https://github.com/opf/openproject/blob/dev/app/models/work_package/pdf_export/timesheet/standard.yml)","properties" : {"page" : {diff --git a/app/models/work_package/pdf_export/export/wp/schema.json b/app/models/work_package/pdf_export/export/wp/schema.jsonindex 1e60e6e5ea5..b0e0ebebe72 100644--- a/app/models/work_package/pdf_export/export/wp/schema.json+++ b/app/models/work_package/pdf_export/export/wp/schema.json@@ -1,6 +1,6 @@{"type": "object",- "title": "Attributes and description",+ "title": "Attributes and description PDF","description": "This document describes the style settings format for the [PDF Export styling file](https://github.com/opf/openproject/blob/dev/app/models/work_package/pdf_export/wp/standard.yml)","properties": {"page": {diff --git a/docs/system-admin-guide/design/pdf-export-styles/README.md b/docs/system-admin-guide/design/pdf-export-styles/README.mdindex 76e333fc5bd..480882031a7 100644--- a/docs/system-admin-guide/design/pdf-export-styles/README.md+++ b/docs/system-admin-guide/design/pdf-export-styles/README.md@@ -3,8 +3,31 @@These documents describe the style settings format for **PDF Export styling files**.-| YAML file | PDF Export |-|------------------------------------------------------------|------------------------------------------------------------|-| [attributes-and-description](./attributes-and-description) | Single PDF Export template "Attributes and description" |-| [report](./report) | PDF Export template "Report", "Overview table" and "Gantt" |-| [timesheet](./timesheet) | PDF Export of timesheets of the Cost module |+The described files are YAML files used by the export to apply the styles.++| YAML file | PDF Export |+|-------------------------------------------------------------------------|------------------------------------------------------------|+| [attributes-and-description/standard.yml](./attributes-and-description) | Single PDF Export template "Attributes and description" |+| [report/standard.yml](./report) | PDF Export template "Report", "Overview table" and "Gantt" |+| [timesheet/standard.yml](./timesheet) | PDF Export of timesheets of the Cost module |++> [!IMPORTANT]+> These files are included in your OpenProject installation. Please create a backup before and after changing them, as they might be overwritten during an OpenProject update.+> An admin section is planned, please follow this [ticket](https://community.openproject.org/projects/14/work_packages/61743/) for updates.++After changing the styles, you need to restart the OpenProject server to apply the changes.+There is a utility script available you can run to see if the changes are valid or not.++```shell+bundle exec script/pdf_export/validate_styles+```++An example of a style:++```yml+border:+ color: d3dee3+ height: 1px+```+Where the color is a hexadecimal color code and the height is the height of the border in pixels.+diff --git a/docs/system-admin-guide/design/pdf-export-styles/attributes-and-description/README.md b/docs/system-admin-guide/design/pdf-export-styles/attributes-and-description/README.mdindex 0a613fe1efb..5ba16386449 100644--- a/docs/system-admin-guide/design/pdf-export-styles/attributes-and-description/README.md+++ b/docs/system-admin-guide/design/pdf-export-styles/attributes-and-description/README.md@@ -1,5 +1,5 @@-# Attributes and description+# Attributes and description PDFThis document describes the style settings format for the [PDF Export styling file](https://github.com/opf/openproject/blob/dev/app/models/work_package/pdf_export/wp/standard.yml)diff --git a/docs/system-admin-guide/design/pdf-export-styles/report/README.md b/docs/system-admin-guide/design/pdf-export-styles/report/README.mdindex 344af1d11f9..88680b579b9 100644--- a/docs/system-admin-guide/design/pdf-export-styles/report/README.md+++ b/docs/system-admin-guide/design/pdf-export-styles/report/README.md@@ -1,5 +1,5 @@-# Report+# Report, Gantt and Table PDFThis document describes the style settings format for the [PDF Export styling file](https://github.com/opf/openproject/blob/dev/app/models/work_package/pdf_export/report/standard.yml)diff --git a/docs/system-admin-guide/design/pdf-export-styles/timesheet/README.md b/docs/system-admin-guide/design/pdf-export-styles/timesheet/README.mdindex 67140717a6a..1703bc2f108 100644--- a/docs/system-admin-guide/design/pdf-export-styles/timesheet/README.md+++ b/docs/system-admin-guide/design/pdf-export-styles/timesheet/README.md@@ -1,5 +1,5 @@-# Timesheet (Cost module)+# Timesheet PDFThis document describes the style settings format for the [PDF Export styling file](https://github.com/opf/openproject/blob/dev/app/models/work_package/pdf_export/timesheet/standard.yml)