-
Notifications
You must be signed in to change notification settings - Fork 31
Feature/data explinations #746
Changes from all commits
0b488c6
c01888c
f48c92c
de6b1e5
ab362c4
229bb11
53f1292
e536663
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,16 +24,20 @@ | |
<td>{{{ currency disbursement_amount }}}</td> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">Receipt date</td> | ||
<td class="panel__term">Disbursement date</td> | ||
<td>{{{ datetime disbursement_date }}}</td> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">Description</td> | ||
<td>{{ disbursement_description }}</td> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">Memo</td> | ||
<td>{{ memo_text }}</td> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">Description</td> | ||
<td>{{ disbursement_description }}</td> | ||
<td class="panel__term">Memo code</td> | ||
<td>{{ memoed_subtotal }}</td> | ||
</tr> | ||
{{#if election_type_full }} | ||
<tr> | ||
|
@@ -44,6 +48,20 @@ | |
</table> | ||
</div> | ||
|
||
<div class="panel__row"> | ||
<h4 class="panel__title">Filing information</h4> | ||
<table> | ||
<tr> | ||
<td class="panel__term">Filing date</td> | ||
<td>{{{ datetime receipt_date }}}</td> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">View report page</td> | ||
<td><a href="{{{ pdf_url }}}" target="_blank">View on fec.gov</a></td> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This duplicates the "view original image" link at the top of the panel. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, I am blind. Thanks for spotting that! A thought on the language, what if it says-- "View report page" instead of "View original image" Does @emileighoutlaw or @noahmanger have strong feelings on this micro copy? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about "View original report" ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are showing the page that the record is on, which is handy because the reports can be thousands of pages. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like "View report page", but then in the filings panels we'd need it to be "View report". Right now we use "View original image" for both. I was looking at this and think it might make sense for the link under filing date to link to the full report, just so people can have it. I think we should also identify the report it was filed on by name, so you can see, e.g. April Quarterly 2015. |
||
</tr> | ||
</table> | ||
</div> | ||
|
||
<div class="panel__row"> | ||
<h4 class="panel__title">Committee information</h4> | ||
<table> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
<tr> | ||
<td class="panel__term">Employer</td> | ||
<td>{{ contributor_employer }}</td> | ||
</tr> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">Year to date</td> | ||
<td>{{{ currency contributor_aggregate_ytd }}}</td> | ||
|
@@ -50,6 +50,20 @@ | |
</table> | ||
</div> | ||
|
||
<div class="panel__row"> | ||
<h4 class="panel__title">Filing information</h4> | ||
<table> | ||
<tr> | ||
<td class="panel__term">Filing date</td> | ||
<td>{{{ datetime receipt_date }}}</td> | ||
</tr> | ||
<tr> | ||
<td class="panel__term">View report page</td> | ||
<td><a href="{{{ pdf_url }}}" target="_blank">View on fec.gov</a></td> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This duplicates the "view original image" link at the top of the panel. |
||
</tr> | ||
</table> | ||
</div> | ||
|
||
<div class="panel__row"> | ||
<h4 class="panel__title">Recipient information</h4> | ||
<table> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<table id="results" class="data-table" data-type="donation"> | ||
<thead> | ||
<tr> | ||
<th scope="col">Contributor Name</th> | ||
<th scope="col">Contributor name</th> | ||
<th scope="col">State</th> | ||
<th scope="col">Employer</th> | ||
<th scope="col">Amount</th> | ||
<th scope="col">Date</th> | ||
<th scope="col">Receipt date</th> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is Receipt date what we want and not filing date? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good catch-- thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, I checked and that column is correct, we are sorting on the day the receipt was made- "Receipt date" Like I said, the column names are confusing and I am up to tweaking them. Because it is confusing, I think it is important to be explicit about which date we are showing, rather than just saying date |
||
<th scope="col">Recipient</th> | ||
<th scope="col"></th> | ||
</tr> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be filing_date ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They use "receipt date" for the day the filing was received by the FEC. But that becomes confusing on the Receipts page, where there is "receipt date" and "contribution receipt date" I thought if we called "receipt date" "filing date" that makes the two dates more clear. I changed it on the disbursements since those tables are similar and if there is a section called receipts, receipt date might be confusing. If you have a better idea of how to make it less confusing we can change it.