summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/bug
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/bug')
-rw-r--r--extensions/BMO/template/en/default/bug/create/comment-name-clearance.txt.tmpl19
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-name-clearance.html.tmpl27
2 files changed, 36 insertions, 10 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/comment-name-clearance.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-name-clearance.txt.tmpl
index f14d40a29..370dee481 100644
--- a/extensions/BMO/template/en/default/bug/create/comment-name-clearance.txt.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/comment-name-clearance.txt.tmpl
@@ -9,25 +9,28 @@
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
->>Business unit requesting the search
+>> Business unit requesting the search
[%+ cgi.param("business_unit") %]
->>Describe the thing you are naming
+>> Describe the thing you are naming
[%+ cgi.param("description") %]
->>If available, link to more info (Google doc, wiki page, etc)
+>> If available, link to more info (Google doc, wiki page, etc)
[%+ cgi.param("more_info_link") || 'None' %]
->>What is your first choice for the name?
+>> What is your first choice for the name?
[%+ cgi.param("name_choice") %]
->>What are your 2nd & 3rd choices if #1 isn’t available?
+>> What are your 2nd & 3rd choices if #1 isn’t available?
[%+ cgi.param("other_choices") %]
->>Has the brand team been involved in the naming process?
+>> Has the brand team been involved in the naming process?
[%+ cgi.param("brand_team_involved") %]
->>Are other companies using this name?
+>> How soon do you need the results?
+[%+ cgi.param('timeframe') %]
+
+>> Are other companies using this name?
[%+ cgi.param("other_company_name") %]
[% IF cgi.param("other_company_name") == "Yes" %]
@@ -35,5 +38,5 @@
[%+ cgi.param("other_companies") %]
[% END %]
->>Anything else you want us to know?
+>> Anything else you want us to know?
[%+ cgi.param("extra_info") %]
diff --git a/extensions/BMO/template/en/default/bug/create/create-name-clearance.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-name-clearance.html.tmpl
index ad143be24..499ca0d82 100644
--- a/extensions/BMO/template/en/default/bug/create/create-name-clearance.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-name-clearance.html.tmpl
@@ -41,6 +41,13 @@ label.required:before {
[% inline_javascript = BLOCK %]
$(function() {
+ $('#nameForm').submit(function () {
+ var short_desc = $('#short_desc');
+ var name = $('#name_choice').val();
+ var business_unit = $('#business_unit').val();
+ short_desc.val('New Name Clearance Request for ' + encodeURIComponent(name) +
+ ' for ' + encodeURIComponent(business_unit));
+ });
$('#other_company_name').on('change', function() {
if ($('#other_company_name').val() == 'Yes') {
$('#other_companies_row').show();
@@ -143,6 +150,21 @@ $(function() {
<div class="row">
<div class="row_desc">
+ <label class="required" for="timeframe">
+ <strong>How soon do you need the results?</strong>
+ </label>
+ </div>
+ <select required="true" name="timeframe" id="timeframe">
+ <option value="">-- Select --</option>
+ <option value="2 days">2 days</option>
+ <option value="a week">a week</option>
+ <option value="2-3 weeks">2-3 weeks</option>
+ <option value="no rush">no rush</option>
+ </select>
+ </div>
+
+ <div class="row">
+ <div class="row_desc">
<label class="required" for="other_company_name">
<strong>Are other companies using the name?</strong>
</label>
@@ -151,6 +173,7 @@ $(function() {
<option value="">-- Select --</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
+ <option value="Don't know">Don't know</option>
</select>
</div>
@@ -165,11 +188,11 @@ $(function() {
<div class="row">
<div class="row_desc">
- <label class="required" for="extra_info">
+ <label for="extra_info">
<strong>Anything else you want us to know?</strong>
</label>
</div>
- <textarea required="true" name="extra_info" id="extra_info" cols="80" rows="10"></textarea>
+ <textarea name="extra_info" id="extra_info" cols="80" rows="10"></textarea>
</div>
<input type="submit" id="commit" value="Submit Request">