summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-10-31 21:49:33 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-10-31 21:49:33 +0100
commitc82add1ef1cd14ba1db4cfcb56c58966263527aa (patch)
tree0417784ced07e48904e26f0d4a9cbd0c9b951f27
parent1adc638028cbf4261bd582d5ca338e8009835995 (diff)
downloadbugzilla-c82add1ef1cd14ba1db4cfcb56c58966263527aa.tar.gz
bugzilla-c82add1ef1cd14ba1db4cfcb56c58966263527aa.tar.xz
Bug 1309663 - Improvements to the IPC Form
-rw-r--r--extensions/BMO/template/en/default/bug/create/comment-ipc.txt.tmpl4
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-ipc.html.tmpl14
2 files changed, 12 insertions, 6 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/comment-ipc.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-ipc.txt.tmpl
index c25aff329..b644ee469 100644
--- a/extensions/BMO/template/en/default/bug/create/comment-ipc.txt.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/comment-ipc.txt.tmpl
@@ -21,12 +21,16 @@
>> Insert your tagged link here.
[%+ cgi.param("tagged_link") %]
+[% IF cgi.param('start_run') %]
>> When would you like your snippet to start its run?
[%+ cgi.param("start_run") %]
+[% END %]
+[% IF cgi.param('complete_run') %]
>> When would you like your snippet to complete its run?
[%+ cgi.param("complete_run") %]
+[% END %]
>> Will you be able to provide the following assets for your snippet?
[%+ cgi.param("snippet_assets").join(', ') %]
diff --git a/extensions/BMO/template/en/default/bug/create/create-ipc.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-ipc.html.tmpl
index b24bf427f..7be2214b2 100644
--- a/extensions/BMO/template/en/default/bug/create/create-ipc.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-ipc.html.tmpl
@@ -106,7 +106,7 @@ $(document).ready(function() {
<form method="post" action="post_bug.cgi" id="ipcForm">
<input type="hidden" id="short_desc" name="short_desc" value="New IPC Request">
<input type="hidden" name="product" value="Marketing">
- <input type="hidden" name="component" value="Email">
+ <input type="hidden" name="component" value="IPC">
<input type="hidden" name="rep_platform" value="All">
<input type="hidden" name="op_sys" value="Other">
<input type="hidden" name="version" value="unspecified">
@@ -185,27 +185,29 @@ $(document).ready(function() {
<div class="row">
<div class="row_desc">
- <label class="required" for="start_run">
+ <label for="start_run">
<strong>When would you like your snippet to start its run?</strong>
</label>
</div>
- <input required class="date_field" name="start_run" id="start_run">
+ <input class="date_field" name="start_run" id="start_run">
<img class="date_field-img" id="start_run-img" src="extensions/BugModal/web/calendar.png" width="16" height="16">
</div>
<div class="row">
<div class="row_desc">
- <label class="required" for="complete_run">
+ <label for="complete_run">
<strong>When would you like your snippet to complete its run?</strong>
</label>
</div>
- <input required class="date_field" name="complete_run" id="complete_run">
+ <input class="date_field" name="complete_run" id="complete_run">
<img class="date_field-img" id="complete_run-img" src="extensions/BugModal/web/calendar.png" width="16" height="16">
</div>
<div class="row">
<div class="row_desc">
- <strong>Will you be able to provide the following assets for your snippet? Check all that apply.</strong><br> Feel free to look at our existing icon library: <a href="http://bit.ly/2aWTmqT">http://bit.ly/2aWTmqT</a>
+ <strong>Will you be able to provide the following assets for your snippet? Check all that apply.</strong><br>
+ Feel free to look at our existing icon library:
+ <a href="http://bit.ly/2efXaFo">http://bit.ly/2efXaFo</a>
</div>
<input type="checkbox" name="snippet_assets" id="copy" value="Copy">
<label for="copy">Copy</label><br>