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