From aeb35cd1a50134f8e69a7d925dca4bd54fdc3bde Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 4 Jan 2013 18:18:07 -0500 Subject: Bug 826296 - Changes to Air Mozilla Event Request Form --- .../default/bug/create/create-brownbag.html.tmpl | 65 ++++++++++------------ 1 file changed, 30 insertions(+), 35 deletions(-) (limited to 'extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl') diff --git a/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl index a73ae73cb..07c749f02 100644 --- a/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl @@ -46,13 +46,12 @@ function trySubmit() { var shortdesc = 'Event - (' + date + ' ' + time + ') - ' + location + ' - ' + topic; document.getElementById('short_desc').value = shortdesc; - var public_yes = document.getElementById('public_yes').checked; - var public_no = document.getElementById('public_no').checked; - if (!public_yes && !public_no) { + var public = document.getElementById('public'); + if (!public.value) { alert('You must select whether the event is public or not'); return false; } - if (public_no) { + if (public.value != 'The Public') { var brownbagRequestForm = document.getElementById('brownbagRequestForm'); var groups = document.createElement('input'); groups.type = 'hidden'; @@ -91,17 +90,7 @@ function trySubmit() { -[% FOREACH type = product.flag_types.bug %] - [% NEXT IF type.name != 'pr-review' %] - - -[% END %] - - @@ -250,31 +257,19 @@ function trySubmit() { - + - - - - - - - - - -
@@ -204,6 +193,24 @@ function trySubmit() { +
+ + + + + + + + + + + + + + + +
Summer:MTV/SFO/PDX/YVR UTC-7TOR/BOS UTC-4LON UTC+1PAR/BER UTC+2
Winter:MTV/SFO/PDX/YVR UTC-8TOR/BOS UTC-3LON UTCPAR/BER UTC+1
+
This event may be
viewed by the public:
This event may be seen by: - If No is chosen, this request will only be visible internally as well - as the reporter and anyone designated in the CC field.
- -
- - + If anything other than The Public is chosen, this request will only be + visible internally as well as the reporter and anyone designated in the CC field.
+
- -
- -
-- cgit v1.2.3-24-g4f1b