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/comment-brownbag.txt.tmpl | 11 ++-- .../default/bug/create/create-brownbag.html.tmpl | 65 ++++++++++------------ 2 files changed, 35 insertions(+), 41 deletions(-) (limited to 'extensions/BMO/template/en/default') diff --git a/extensions/BMO/template/en/default/bug/create/comment-brownbag.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-brownbag.txt.tmpl index d9aa35f17..158c08f19 100644 --- a/extensions/BMO/template/en/default/bug/create/comment-brownbag.txt.tmpl +++ b/extensions/BMO/template/en/default/bug/create/comment-brownbag.txt.tmpl @@ -25,10 +25,9 @@ Presenter: [% cgi.param('presenter') %] Date: [% cgi.param('date') %] Time: [% cgi.param('time_hour') %]:[% cgi.param('time_minute') %][% cgi.param('ampm') +%] [%+ cgi.param('time_zone') %] Duration: [% IF cgi.param('duration') == 'Other' %][% cgi.param('duration_other') %][% ELSE %][% cgi.param('duration') %][% END %] -Audience: [% cgi.param('audience') %] -Air Mozilla: [% IF cgi.param('airmozilla') %]Yes[% ELSE %]No[% END %] -Dial-in: [% IF cgi.param('dialin') %]Yes[% ELSE %]No[% END %] -Archive: [% IF cgi.param('archive') %]Yes[% ELSE %]No[% END %] -Member of IT to help with A/V: [% IF cgi.param('ithelp') %]Yes[% ELSE %]No[% END %] +Privacy: [% cgi.param('public') %] +Large Screen Location: [% FOREACH location = cgi.param('large_screen_loc') %][% location FILTER html %], [% END %] Description: -[% cgi.param('description') %] +[%+ cgi.param('description') %] +Special Requirements: +[%+ cgi.param('special_requirements') %] 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