Update config

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-06-12 14:47:24 +00:00
parent d85988a915
commit 93082dcbaf

View file

@ -193,13 +193,14 @@
"split": 0
},
"regfee": {
"display_name": "Registration Fee",
"display_name": "Registration Fee in USD $",
"type": "string",
"required": false,
"private": true,
"placeholder": "25.00",
"readonly": false,
"split": 0,
"message": "All amounts are in US dollars.",
"onchange": "javascript:update_estimates();"
},
"reason": {
@ -448,6 +449,7 @@
"private": true,
"shownifkey": "flights_needed",
"shownifval": "My trip to Flock requires air travel.",
"message": "Please provide the amount in US dollars.",
"onchange": "javascript:update_estimates();",
"split": 2
},
@ -493,6 +495,7 @@
"private": true,
"shownifkey": "needassistance",
"shownifval": "Yes, my attendance requires financial assistance.",
"message": "Please provide the amount in US dollars.",
"split": 2
},
"total_othertransit": {
@ -611,27 +614,33 @@
"shownifkey": "needassistance",
"shownifval": "Yes, my attendance requires financial assistance.",
"html": [
"<p>Estimated costs for funding request</p>",
"<p>Estimated round trip airfare: $<span id='estimate_airfare'>--</span> USD</p>",
"<p>Airfare booking fee: $<span id='estimate_airfare_booking'>--</span></p>",
"<p>Boston-to-Cape-Cod bus (round-trip): $<span id='estimate_bus_service'>--</span></p>",
"<p>Other transit-related costs: $<span id='estimate_other_transit'>--</span></p>",
"<p>Lodging, <span id='estimate_lodging_nights'>X</span> nights x ($139.99 + 15.40): $<span id='estimate_lodging_cost'>--</span></p>",
"<p>Registration fee: $<span id='estimate_regfee'>--</span></p>",
"<hr>",
"<p>Total: $<span id='estimate_total'>--</span> USD</p>"
"<h3>Estimated costs for funding request</h3>",
"<table class='estimates'><tr>",
"<th>Estimated round trip airfare:</th> <td><strong>$<span id='estimate_airfare'>--</span> </strong>USD</td>",
"</tr><tr>",
"<th>Airfare booking fee:</th> <td><strong>$<span id='estimate_airfare_booking'>--</span> </strong>USD</td>",
"</tr><tr>",
"<th>Boston-to-Cape-Cod bus (round-trip):</th> <td><strong>$<span id='estimate_bus_service'>--</span></strong> USD</td>",
"</tr><tr>",
"<th>Other transit-related costs:</th> <td><strong>$<span id='estimate_other_transit'>--</span></strong> USD</td>",
"</tr><tr>",
"<th>Lodging, <span id='estimate_lodging_nights'>X</span> nights x ($139.99 + 15.40):</th> <td> <strong>$<span id='estimate_lodging_cost'>--</span></strong> USD</td>",
"</tr><tr>",
"<th>Registration fee:</th> <td> <strong>$<span id='estimate_regfee'>--</span> </strong>USD</td>",
"</tr></table>",
"<p style='font-size: 150%' class='estimates-total'>Total: <strong>$<span id='estimate_total'>--</span> </strong>USD</p>"
],
"split": 2
},
"afford_to_pay": {
"display_name": "If I am funded, I can afford to pay:",
"type": "radio",
"options": [20, 40, 60, 80, 90, "other"],
"options": [20, 40, 60, 80, 90, "Other"],
"required": false,
"private": true,
"shownifkey": "needassistance",
"shownifval": "Yes, my attendance requires financial assistance.",
"split": 2
"message": "All amounts in US dollars.",
},
"afford_to_pay_custom": {
"display_name": "Amount",