You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on "Publish Product" and an email is sent through an email_publisher, the email contains just some information about the product. If it's a Vulnerability Report, for example, I can't see the vulnerability review text, the vulnerability name, the associated links and so on.
To get the desired info, I inserted the following in presenters/templates/pdf_body_template.html:
Thank you for the coment. Could you please clarify? I understand that the pdf_body_template.html does not reference news items embedded in the report items, but when you put some report items into the product, these are all properly rendered. Is that what you mean?
If so, where did you put the news item details? They don't fit nicely into the current product template that we have, so perhaps you built on an older version?
Thinking about where to put the data: we could try to add it in the "LINKS" section, or perhaps make a second template so that the users can chose.
Like you understood, pdf_body_template.html does not reference news items embedded in the report items though they are properly rendered in the GUI.
I just modified src/presenters/templates/pdf_body_template.html like in the attached file.
As you said, It is not very nice but I'm still trying to figure out the best layout. I'm also trying to make the product's description appear as an introduction to the whole pdf: it would be nice but I didn't find the way to pass the information inside {{ data }} (I just found report_items in it). pdf_body_template.html.txt
When clicking on "Publish Product" and an email is sent through an email_publisher, the email contains just some information about the product. If it's a Vulnerability Report, for example, I can't see the vulnerability review text, the vulnerability name, the associated links and so on.
To get the desired info, I inserted the following in presenters/templates/pdf_body_template.html:
This will correct both the preview and the actual email content.
Obviously style settings need to go in the css file to have a cleaner code.
The text was updated successfully, but these errors were encountered: