Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the IIR template #260

Closed
jim-mcgowan opened this issue Jul 24, 2020 · 8 comments
Closed

Modify the IIR template #260

jim-mcgowan opened this issue Jul 24, 2020 · 8 comments

Comments

@jim-mcgowan
Copy link
Member

jim-mcgowan commented Jul 24, 2020

Update the DCSOps IIR template to match the current RC standard template.

@kfogel
Copy link
Member

kfogel commented Jul 28, 2020

Estimate: Tiny to make the change, Small to Medium for testing the change.

Modifying the IIR template is easy. Testing the modification is a bit harder, though: you have to have the whole PDF rendering system up and running, which may in turn need the upcoming Rails upgrade.

This would be good for a volunteer working in conjunction with OTS. OTS could help with the testing part.

@jim-mcgowan
Copy link
Member Author

@frankduncan: Attached are two files to help you modify the IIR creation process. The first (IIR Template Fields) highlights changes to the overall content (orange) and to the "interview" pop-up* specifically (blue). The second (IIR Template Layout) shows what the PDF output should look like. Like the application itself, I have used various weights of Helvetica Neue (Light, Regular, Bold). Please let me know if you'd like to meet to discuss this issue further.

*The pop-up triggered when clicking on most of the field titles in the IIR tab of any incident report

IIR Template Fields.pdf
IIR Template Layout.pdf

@jim-mcgowan jim-mcgowan removed the S label Feb 23, 2021
@jim-mcgowan
Copy link
Member Author

@frankduncan: Here's the ARC logo for the header.

american_red_cross_logo_detail

@jim-mcgowan
Copy link
Member Author

@frankduncan: One final note . . . The filenames of IIR PDFs should follow this format: YYYYMMDD_Region Name_Event Type Code_IIR. So the filename of the previously attached IIR would be something like: 20201231_Illinois_MFF_IIR.

@jim-mcgowan
Copy link
Member Author

Sample template, attached.

20201231_Illinois_MFF_IIR.pdf

@frankduncan
Copy link
Contributor

And this is what's being generated now:
20210101_Illinois_MFF_IIR.pdf

@jim-mcgowan
Copy link
Member Author

@frankduncan:

  1. Change typeface to Helvetica Neue
  2. Increase spacing between lines of text by approximately 10%. If current spacing is 1, Increase to 1.1.

@frankduncan
Copy link
Contributor

I have fought with rails and heroku to get it to use other fonts for attachments, and I can't get the pdf to print correctly. I'm going to create a new, lower priority issue so we don't lose track of this, but I am throwing in the towel for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants