From 160a717a33ff84142355a93702aa5232c9e03671 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 17 Sep 2013 14:17:13 +0800 Subject: Bug 901122: Create custom entry form for dev-events requests --- .../create/comment-dev-engagement-event.txt.tmpl | 84 ++++ .../create/create-dev-engagement-event.html.tmpl | 533 +++++++++++++++++++++ 2 files changed, 617 insertions(+) create mode 100644 extensions/BMO/template/en/default/bug/create/comment-dev-engagement-event.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl (limited to 'extensions/BMO/template/en/default') diff --git a/extensions/BMO/template/en/default/bug/create/comment-dev-engagement-event.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-dev-engagement-event.txt.tmpl new file mode 100644 index 000000000..cb7473e22 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/comment-dev-engagement-event.txt.tmpl @@ -0,0 +1,84 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +:: + +Name: +[%+ cgi.param('name') %] + +Email Address: +[%+ cgi.param('email') %] + +Role in relation to event: +[%+ cgi.param('role') %] + +:: + +Event Name: +[%+ cgi.param('event') %] + +Start Date: +[%+ cgi.param('start_date') %] + +End Date: +[%+ cgi.param('end_date') %] + +Event Location: +[%+ cgi.param('location') || "-" %] + +Venue: +[%+ cgi.param('venue') || "-" %] + +Weblink: +[%+ cgi.param('link') || "-" %] + +Expected Attendees: +[%+ cgi.param('attendees') || "-" %] + +Event Description: +[%+ cgi.param('desc') || "-" %] + +Primary Audience: +[%+ cgi.param('audience') || "-" %] + +Relevant Products: +[% "\n* Firefox OS" IF cgi.param('product-fxos') %] +[% "\n* Firefox Web Browser" IF cgi.param('product-fx') %] +[% "\n* Webmaker" IF cgi.param('product-webmaker') %] +[% "\n* Persona" IF cgi.param('product-persona') %] +[% "\n* Marketplace" IF cgi.param('product-marketplace') %] +[% "\n* Thunderbird" IF cgi.param('product-tb') %] +[% "\n* The Free and Open Web" IF cgi.param('product-fow') %] +[% "\n* Other: " _ cgi.param('product-other-text') IF cgi.param('product-other') %] + +:: + +Requests: +[% "\n* Keynote Presentation" IF cgi.param('request-keynote') %] +[% "\n* Talk Presentation" IF cgi.param('request-talk') %] +[% "\n* Workshop" IF cgi.param('request-workshop') %] +[% "\n* Sponsorship" IF cgi.param('request-sponsorship') %] +[% "\n* Other: " _ cgi.param('request-other-text') IF cgi.param('request-other') %] + +Suggested sponsorship amount/level: +[%+ cgi.param('sponsorship-suggestion') || "-" %] + +Already Registered Mozillians: +[%+ cgi.param('mozillians') || "-" %] + +Requesting A Specific Person: +[%+ cgi.param('specific') || "-" %] + +Alternative Person: +[%+ cgi.param('fallback') || "-" %] + +Anything Else: +[%+ cgi.param('else') || "-" %] diff --git a/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl new file mode 100644 index 000000000..b80d587b4 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl @@ -0,0 +1,533 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% PROCESS global/variables.none.tmpl %] + +[% inline_css = BLOCK %] + #bug_form { + max-width: 50em; + } + + #bug_form th { + text-align: left; + padding-top: 0.5em; + } + + #bug_form .section-head { + font-size: larger; + padding-top: 1em; + } + + #bug_form th:not(.section-head), #bug_form td { + padding-left: 2em; + } + + #bug_form .mandatory { + color: red; + } + + #bug_form .blurb { + font-style: italic; + } + + #bug_form .wide { + width: 40em; + } + + #bug_form input[disabled] { + background: transparent; + } +[% END %] + +[% inline_js = BLOCK %] +// +[% END %] + +[% mandatory = BLOCK %] + * +[% END %] + +[% PROCESS global/header.html.tmpl + title = "Developer Events Request Form" + style = inline_css + style_urls = [ 'skins/standard/enter_bug.css' ] + javascript = inline_js + javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', 'js/field.js', 'js/util.js' ] + yui = [ 'calendar' ] +%] + +

Developer Events Request Form

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi! Thanks so much for asking Mozilla to participate at your event! +

+

+ The Developer Events Team evaluates each request individually, based on + multiple criteria, including quarterly goals and priorities. We meet at + least biweekly, and this form is designed to gather all the information + we need to evaluate each request at these meetings. Please take a minute + to fill it out thoroughly so we can process your request as soon as + possible. +

+
+ First, tell us about yourself! +
+ What is your name? [% mandatory FILTER none %] +
+ +
+ Please provide your email address. [% mandatory FILTER none %] +
+ +
+ What is your role in relation to this event? [% mandatory FILTER none %] +
+
+ eg. organizer, speaker/atendee (past), speaker/attendee (current), etc. +
+ +
+ Let's start with the basics. +
+ Event Name [% mandatory FILTER none %] +
+ +
+ Start Date [% mandatory FILTER none %] +
+ + +
+
+ End Date [% mandatory FILTER none %] +
+ + +
+
+ Event Location +
+
+ Include city, state, and country. Please write "Multiple" if this event + takes place across several locations. +
+ +
+ Venue +
+
+ What is the name of the venue where your event will be held? Enter TBD if + you don't know yet. +
+ +
+ Weblink +
+
+ Weblink to the event site, Eventbrite page, Lanyrd page, Meetup page, etc. +
+ +
+ Number of expected attendees [% mandatory FILTER none %] +
+ +
+ Please give a [short] description of the event. [% mandatory FILTER none %] +
+
+ Include track topics, presentation topics, event format. +
+ +
+ Who is the primary audience for this event? [% mandatory FILTER none %] +
+
+ Developers (specify coding language and platform), business development, + marketing associates, corporate executives, etc. +
+ +
+ Which Mozilla products/projects are most relevant to this event? [% mandatory FILTER none %] +
+
+ Please select all that apply. + See mozilla.org/products + for more information about Mozilla products. +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ Tell us more about what you're looking for! +
+ What are you requesting from Mozilla? [% mandatory FILTER none %] +
+
+ Please select all that apply. +
+ +
+ +
+ +
+ +
+ + + +
+ If requesting sponsorship, what amount/level do you suggest? +
+ +
+ Please list the names of anyone from Mozilla who are already registered to + attend, speak, or participate in this event. +
+ +
+ Are you requesting a specific person to present or participate at this + event? If so, please list their name(s). +
+ +
+ If this individual is unable to attend/speak/participate in this event, is + there anyone else you would like to request? +
+ +
+ Please upload a Sponsorship Prospectus if you have one. +
+ + + +
+ Anything else that may help us review this request? +
+ +
 
+ +
+ +
+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b