diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-18 06:55:50 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-18 06:55:50 +0200 |
commit | ec45fbac340dcb0e76359b813a0462e205442f2f (patch) | |
tree | bea00104af9906a36de2ca2fefed1883636d4d0e /extensions/REMO/template/en | |
parent | 36bdc20658a16688e4e52b81aa46ef2b70a9103d (diff) | |
download | bugzilla-ec45fbac340dcb0e76359b813a0462e205442f2f.tar.gz bugzilla-ec45fbac340dcb0e76359b813a0462e205442f2f.tar.xz |
Bug 795980 - Changes in budget request form
Diffstat (limited to 'extensions/REMO/template/en')
-rw-r--r-- | extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl index 29d257f89..f198b3728 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl @@ -27,8 +27,9 @@ function trySubmit() { var firstname = document.getElementById('firstname').value; var lastname = document.getElementById('lastname').value; var eventpage = document.getElementById('eventpage').value; - var shortdesc = 'Budget Request - ' + firstname + ' ' + lastname + ' - ' + eventpage; + var shortdesc = 'Budget Request - ' + firstname + ' ' + lastname + ' - ' + eventpage; document.getElementById('short_desc').value = shortdesc; + document.getElementById('cc').value = document.getElementById('mentoremail').value; return true; } @@ -52,16 +53,6 @@ function validateAndSubmit() { alert(alert_text); return false; } - -function togglePaymentInfo (e) { - if (e.checked == true) { - YAHOO.util.Dom.removeClass('paymentinfo','bz_default_hidden'); - } - else { - YAHOO.util.Dom.addClass('paymentinfo','bz_default_hidden'); - } -} - </script> <h1>Mozilla Reps - Budget Request Form</h1> @@ -88,6 +79,7 @@ function togglePaymentInfo (e) { <input type="hidden" name="version" value="unspecified"> <input type="hidden" name="bug_severity" id="bug_severity" value="normal"> <input type="hidden" name="short_desc" id="short_desc" value=""> + <input type="hidden" name="cc" id="cc" value=""> <input type="hidden" name="groups" value="mozilla-reps"> <input type="hidden" name="token" value="[% token FILTER html %]"> @@ -122,6 +114,7 @@ function togglePaymentInfo (e) { value="" size="40" placeholder="https://reps.mozilla.org/e/TestEvent"> </td> </tr> + <tr class="odd"> <th class="field_label required">Bugzilla Email of Your Mentor:</th> <td> @@ -144,7 +137,7 @@ function togglePaymentInfo (e) { </td> </tr> -<tr class="even"> +<tr class="odd"> <th class="field_label required">Country You Reside:</th> <td> <input type="text" name="country" id="country" @@ -152,29 +145,10 @@ function togglePaymentInfo (e) { </td> </tr> -<tr class="odd"> - <td><!--spacer--> </td> - <td><!--spacer--> </td> -</tr> - <tr class="even"> <th class="field_label">Is advance payment needed?</th> <td> - <input type="checkbox" name="advancepayment" id="advancepayment" value="1" - onchange="togglePaymentInfo(this);"> - </td> -</tr> - -<tr id="paymentinfo" class="even bz_default_hidden"> - <td colspan="2"> - Please send an email to William at mozilla.com with all the information below:<br> - <br> - Payment information:<br> - Bank name:<br> - Bank address: <br> - IBAN:<br> - Swift code/BIC:<br> - Additional bank details (if necessary): + <input type="checkbox" name="advancepayment" id="advancepayment" value="1"> </td> </tr> |