-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LA repairs text to generated PDF letter. (#2293)
* Add issues to letter. not showing up yet * Add tests and fix bug where repairs weren't showing up * Run yarn lingui. some not translated properly * Issue and room names are translated elsewhere and don't need Trans tags * Fix test - right values now! yay * Read * new snapshot
- Loading branch information
1 parent
c165d38
commit de647e1
Showing
8 changed files
with
171 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<HabitabilityContent> works 1`] = ` | ||
exports[`<HabitabilityContent> renders 1`] = ` | ||
<div> | ||
<h1 | ||
class="has-text-right" | ||
|
@@ -54,10 +54,26 @@ exports[`<HabitabilityContent> works 1`] = ` | |
<p> | ||
laletterbuilder.habitability.intro-1 | ||
</p> | ||
<h2> | ||
Repairs required | ||
</h2> | ||
ADD REPAIRS HERE | ||
<section> | ||
<h2> | ||
Repairs required | ||
</h2> | ||
<ol> | ||
<li> | ||
<b> | ||
Peeling paint | ||
</b> | ||
<ul> | ||
<li> | ||
Bedroom | ||
</li> | ||
<li> | ||
Kitchen | ||
</li> | ||
</ul> | ||
</li> | ||
</ol> | ||
</section> | ||
<div | ||
class="jf-avoid-page-breaks-within" | ||
> | ||
|
@@ -101,6 +117,7 @@ Object { | |
"city": "Brooklyn", | ||
"email": "[email protected]", | ||
"firstName": "Boop", | ||
"issues": Array [], | ||
"landlordAddress": "123 Cloud City Drive | ||
Bespin, NY 12345", | ||
"landlordEmail": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.