From 1b754b706621166e4bc04e99bfd66f60332e0057 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 19 Jul 2012 14:36:30 +0800 Subject: Bug 774941: update the itrequest form for service-now --- .../default/bug/create/create-itrequest.html.tmpl | 290 ++++++++++++--------- 1 file changed, 170 insertions(+), 120 deletions(-) (limited to 'extensions/BMO') diff --git a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl index 6944b74f7..265c168a9 100644 --- a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl @@ -1,48 +1,17 @@ -[%# 1.0@bugzilla.org %] -[%# The contents of this file are subject to the Mozilla Public - # License Version 1.1 (the "License"); you may not use this file - # except in compliance with the License. You may obtain a copy of - # the License at http://www.mozilla.org/MPL/ - # - # Software distributed under the License is distributed on an "AS - # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - # implied. See the License for the specific language governing - # rights and limitations under the License. - # - # The Original Code is the Bugzilla Bug Tracking System. - # - # The Initial Developer of the Original Code is Netscape Communications - # Corporation. Portions created by Netscape are - # Copyright (C) 1998 Netscape Communications Corporation. All - # Rights Reserved. - # - # Contributor(s): Gervase Markham - # Ville Skyttä - # John Hoogstrate - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% PROCESS global/header.html.tmpl - title = "Mozilla Corporation/Foundation IT Requests" - javascript_urls = [ 'js/field.js' ] - yui = [ 'autocomplete' ] -%] - -[% USE Bugzilla %] +[%# 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. + #%] -

Please use this form for IT requests only!

-

If you have a [% terms.bug %] to file, go here.

+[% PROCESS global/variables.none.tmpl %] -
- - - - - - - + + YAHOO.util.Event.onDOMReady(function() { + var comps = document.getElementsByName('component'); + for (var i = 0, l = comps.length; i < l; i++) { + if (comps[i].checked) { + setcompdesc(comps[i]); + break; + } + } + }); +[% END %] + +[% PROCESS global/header.html.tmpl + title = "Mozilla Corporation/Foundation IT Requests" + javascript = inline_javascript + javascript_urls = [ 'js/field.js' ] + yui = [ 'autocomplete' ] +%] + +[% USE Bugzilla %] + +

Please use this form for IT requests only!

+

If you have a [% terms.bug %] to file, go here.

+ + + + + + + + - + @@ -94,10 +118,16 @@ - - - - - - - + - - - + + + + - - - - + + + + - + + + - - - + + + + - - - - + - - - - -
Urgency:
Request Type: - -
+ [% UNLESS use_service_now %] + +
+ [% END %] -
+ [% IF use_service_now %] +
+ [% ELSE %] +
+ [% END %]
@@ -106,83 +136,103 @@

- Mailing list requests should be filed here instead. + Mailing list requests should be filed here instead.
Summary: - -
CC (optional): - [% INCLUDE global/userselect.html.tmpl - id => "cc" - name => "cc" - value => cc - size => 60 - multiple => 5 - %] -
Description: - -
-
Summary: + +
URL (optional): - -
CC (optional): + [% INCLUDE global/userselect.html.tmpl + id => "cc" + name => "cc" + value => cc + size => 60 + multiple => 5 + %] +
 
Description: + +
+
- Attachment (optional): -
URL (optional): + +
File: - Enter the path to the file on your computer.
- - -
 
Description: - Describe the attachment briefly.
- -
+ + + Attachment (optional): + + + + + File: + + Enter the path to the file on your computer.
+ + + + -
- -
(please uncheck this box if it isn't) -

+ + Description: + + Describe the attachment briefly.
+ + + - + +   + +
+ + +
+ (please uncheck this box if it isn't)
+
+
+
+ Thanks for contacting us. You will be notified by email of any progress made in resolving your request. + + + + + + + +   + +
+ + + + +
-

Thanks for contacting us. - You will be notified by email of any progress made in resolving your - request. -

-[% PROCESS global/footer.html.tmpl %] +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b