From 4ccf1f41b4d167de56e4dca2cad0db8bf16dcf56 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 18 Dec 2014 13:23:19 +0800 Subject: Bug 1108631: Add the due_date field to the "Mozilla PR" product and update the mozpr form to use it --- .../en/default/bug/create/comment-mozpr.txt.tmpl | 2 +- .../en/default/bug/create/create-mozpr.html.tmpl | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'extensions/BMO/template/en/default') diff --git a/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl index bfd421388..6cbc038cf 100644 --- a/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl +++ b/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl @@ -19,7 +19,7 @@ Project Description and Scope: Start Date: [% cgi.param("start_date") %] Announcement Date: [% cgi.param("announce_date") %] - Internal Deadline: [% cgi.param("deadline") %] + Internal Deadline: [% cgi.param("cf_due_date") %] == Owners diff --git a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl index f231ea3b9..2f0d8c2dd 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl @@ -125,7 +125,7 @@ function toggle_linked(id, value, suffix) { } } else { - YAHOO.util.Dom.addClass(id + suffix, 'bz_default_hidden'); + YAHOO.util.Dom.addClass(id + suffix, 'bz_default_hidden'); } } @@ -199,7 +199,7 @@ function validate_form() { if (!isFilledOut('start_date')) missing.push(['start_date', 'Start Date']); if (!isFilledOut('announce_date')) missing.push(['announce_date', 'Announcement Date']); - if (!isFilledOut('deadline')) missing.push(['deadline', 'Internal Deadline']); + if (!isFilledOut('cf_due_date')) missing.push(['cf_due_date', 'Internal Deadline']); if (!isFilledOut('pr_owner')) missing.push(['pr_owner', 'Project PR Owner']); if (!isFilledOut('owner')) missing.push(['owner', 'Project Owner']); @@ -347,16 +347,16 @@ function validate_form() {
- - Internal Deadline + - -
+
-- cgit v1.2.3-24-g4f1b