Content
View differences
Updated by Parimal Satyal over 1 year ago
**Current situation**
* Currently we have two menu items:
* Generate PDF
* Download PDF
* The difference between both features is difficult to explain and to understand.
**Acceptance criteria**
* The "Download PDF" menu item is removed.
* We support multiple templates to generates PDF, e.g. contract, [business letter](https://community.openproject.org/wp/60437).
* Templates are defined as YAML files manually uploaded by administrators.
* The Generate PDF option pdf which is retained. It triggers created by "Download PDF" becomes a modal with different export options.
new template "Attributes and description".
* The footer of In the "Generate PDF" modal has two options:
* Download (primary)
* Cancel (secondary)
* The first option there is "Template", the user gets a selector to select from these options by default: the different templates that are installed in the OpenProject installations:
* Attributes and description (the template which is currently used by the "Download PDF" action) action
* Contract
* [Business letter](https://community.openproject.org/wp/60437) <mention class="mention" data-id="60437" data-type="work_package" data-text="#60437">#60437</mention> (the development of this templates is out of scope for this feature)
* _\[open\] Each of these options also has an associated description to help users understand what they mean_
* _(This is open because descriptions might not be available in For each work package type a standard drop-down, need to see if we default template can use an Action list instead)._
* Additional options remain as they are today, but have changes be defined (global setting in layout, name and guideline text (see [mockup](https://www.figma.com/design/E8rnFXuNGRJ4qrFOmbsr0J/Generate-PDF?node-id=0-1)) ie.:
the Administration).
* Hyphenation
* Paper size
* Language
* Additional header text
* Footer text
* The "Attributes and description" template is default
* Hyphenation is on by default in this template
* The new "Attributes and description" template also get export options:
* Hyphenation
* Paper size
* Header right
* Footer center
* Each template brings default for the above mentioned options
* For each work package type a default template can be defined.
* This Hyphenation is global setting in the Administration → Work packages → Types → {Type}
<br> enabled by default.
* Currently we have two menu items:
* Generate PDF
* Download PDF
* The difference between both features is difficult to explain and to understand.
**Acceptance criteria**
* The "Download PDF" menu item is removed.
* We support multiple templates to generates PDF, e.g. contract, [business letter](https://community.openproject.org/wp/60437).
* The Generate PDF option
* Download (primary)
* Cancel (secondary)
* The first option
* Attributes and description (the template which is currently used by the "Download PDF" action)
* Contract
* [Business letter](https://community.openproject.org/wp/60437) <mention class="mention" data-id="60437" data-type="work_package" data-text="#60437">#60437</mention> (the development of this templates is out of scope for this feature)
* _\[open\] Each of these options also has an associated description to help users understand what they mean_
* _(This is open because descriptions might not be available in
* Additional options remain as they are today, but have changes
* Paper size
* Language
* Additional header text
* Footer text
* The "Attributes and description" template is default
* Hyphenation is on by default in this template
* The new "Attributes and description" template also get export options:
* Hyphenation
* Paper size
* Header right
* Footer center
* Each template brings default for the above mentioned options
* For each work package type a default template can be defined.
* This
<br>