Skip to content

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

Fix default export card configuration and show content

Oliver Günther1b8296915158
diff --git a/frontend/src/app/features/backlogs/openproject-backlogs.routes.ts b/frontend/src/app/features/backlogs/openproject-backlogs.routes.ts
index 5360302476e..aebe2059351 100644
--- a/frontend/src/app/features/backlogs/openproject-backlogs.routes.ts
+++ b/frontend/src/app/features/backlogs/openproject-backlogs.routes.ts
@@ -48,4 +48,10 @@ export const BACKLOGS_ROUTES:Ng2StateDeclaration[] = [
url: '/sprints/{sprintId:int}/burndown_chart',
component: BacklogsPageComponent,
},
+ {
+ name: 'backlogs_export',
+ parent: 'optional_project',
+ url: '/sprints/{sprintId:int}/export_card_configurations',
+ component: BacklogsPageComponent,
+ },
];
diff --git a/modules/pdf_export/README.md b/modules/pdf_export/README.md
index eaafc213cfc..a20a3b3c3c7 100644
--- a/modules/pdf_export/README.md
+++ b/modules/pdf_export/README.md
@@ -30,7 +30,7 @@ group1:
minimum_lines: 2
render_if_empty: false
width: 30%
- due_date:
+ subject:
has_label: false
font_size: 15
font_style: italic
@@ -70,28 +70,15 @@ group2:
font_style: normal
minimum_lines: 1
render_if_empty: true
- row2:
+ row3:
priority: 2
columns:
- custom_field_name:
+ subject:
has_label: true
font_size: 15
minimum_lines: 1
-group3:
- rows:
- row1:
- priority: 2
- columns:
- children:
- has_label: true
- has_count: true
- indented: true
- font_size: 15
- font_style: normal
- minimum_lines: 1
- render_if_empty: true
-
</pre>
+
The config is divided into groups. A group can have a height property which will enforce the minimum height of the group in pixels. The has_border property can be set to true which will draw a border around the rows in the group.
Any number of rows can be defined. The font_size and minimum_lines properties define how much height on the card is given to the row. The plugin will attempt to assign enough space to each of the rows, however space will be assigned based on the priorities of the the rows, with rows with lower priority (higher numbers) being reduced and removed first if there is not enough for all the data. The row height can be forced by giving a value, in pixels, for the row height property. This will override the assigned row height.
diff --git a/test.yml b/test.yml
new file mode 100644
index 00000000000..e69de29bb2d