From a45e86a994221a2feff4cfeef8f9020671f012eb Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 1 Aug 2012 12:20:43 -0400 Subject: Bug 779475 - Changes in budget request form --- .../bug/create/comment-remo-budget.txt.tmpl | 4 ++-- .../bug/create/create-remo-budget.html.tmpl | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'extensions/REMO/template') diff --git a/extensions/REMO/template/en/default/bug/create/comment-remo-budget.txt.tmpl b/extensions/REMO/template/en/default/bug/create/comment-remo-budget.txt.tmpl index 9486c56fe..d60f2fdde 100644 --- a/extensions/REMO/template/en/default/bug/create/comment-remo-budget.txt.tmpl +++ b/extensions/REMO/template/en/default/bug/create/comment-remo-budget.txt.tmpl @@ -31,8 +31,8 @@ Requester info: Requester: [% cgi.param('firstname') %] [%+ cgi.param('lastname') %] -Wiki user profile: [% cgi.param('wikiprofile') %] -Event wiki page: [% cgi.param('wikipage') %] +Profile page: [% cgi.param('profilepage') %] +Event page: [% cgi.param('eventpage') %] Advance payment needed: [% IF cgi.param('advancepayment') %]Yes[% ELSE %]No[% END %] Budget breakdown: 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 685d3eaeb..0264b23c9 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 @@ -39,8 +39,8 @@ Rep team.

function trySubmit() { var firstname = document.getElementById('firstname').value; var lastname = document.getElementById('lastname').value; - var wikipage = document.getElementById('wikipage').value; - var shortdesc = 'Budget Request - ' + firstname + ' ' + lastname + ' - ' + wikipage; + var eventpage = document.getElementById('eventpage').value; + var shortdesc = 'Budget Request - ' + firstname + ' ' + lastname + ' - ' + eventpage; document.getElementById('short_desc').value = shortdesc; return true; } @@ -49,8 +49,8 @@ function validateAndSubmit() { var alert_text = ''; if(!isFilledOut('firstname')) alert_text += "Please enter your first name\n"; if(!isFilledOut('lastname')) alert_text += "Please enter your last name\n"; - if(!isFilledOut('wikiprofile')) alert_text += "Please enter a wiki user profile.\n"; - if(!isFilledOut('wikipage')) alert_text += "Please enter a wiki page address.\n"; + if(!isFilledOut('profilepage')) alert_text += "Please enter a Mozilla Reps profile page.\n"; + if(!isFilledOut('eventpage')) alert_text += "Please enter a event page address.\n"; if(!isFilledOut('successmeasure')) alert_text += "Please enter how you will measure the success of the event.\n"; if(!isFilledOut('budgettotal')) alert_text += "Please enter the total budget for the event.\n"; if(!isFilledOut('service1') || !isFilledOut('cost1')) alert_text += "Please enter at least one service and cost value.\n"; @@ -112,16 +112,22 @@ function togglePaymentInfo (e) { - Wiki user profile:* - + Mozilla Reps Profile Page: * + + + - Event wiki page: * - + Event Page: * + + + -- cgit v1.2.3-24-g4f1b