[bugzilla-gnome-org-customizations/production] put product in from field (bug 744199)



commit ce8cef8b09c12edafca6de3e1a6b6a672cba2ca4
Author: Olav Vitters <olav vitters nl>
Date:   Thu Feb 12 20:46:09 2015 +0100

    put product in from field (bug 744199)

 extensions/TemplateOverrides/lib/Digests.pm        |    1 +
 .../en/default/email/bugmail-header.txt.tmpl       |   23 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/extensions/TemplateOverrides/lib/Digests.pm b/extensions/TemplateOverrides/lib/Digests.pm
index bac727a..5ede0ed 100644
--- a/extensions/TemplateOverrides/lib/Digests.pm
+++ b/extensions/TemplateOverrides/lib/Digests.pm
@@ -24,6 +24,7 @@ sub overrides_digests {
         'bug/create/create-guided.html.tmpl' => 
'179b44af75073441734201d0ac6c660ef94960f7f172642e8c8c2edf91c8ccab',
         'bug/navigate.html.tmpl' => 'fb426f9e95e6d8627a344ef6c9b4aaf87aaee3386dfe6b2230a3525cb512f31a',
         'bug/show.xml.tmpl' => '5db212d9751e3275253b548a7397c615ef217933468a3b3abc7489c729dfc501',
+        'email/bugmail-header.txt.tmpl' => 
'42dea22e287885b7b00448494da5ada892a957227883a88fac4f897b25ed597e',
         'global/choose-classification.html.tmpl' => 
'da8b876b1a79fb40b5ec2e46e6706b63aa0d6ec15a6a41c80ebc1ad889e6e0d4',
         'global/choose-product.html.tmpl' => 
'ab607993022411e13f6cfa51d3c6c32e9309b4c54640347e67742baee8a5e941',
         'global/common-links.html.tmpl' => 
'bd97d3329db516532e773b6446da863e7d5eb141e057f1a121d1d1a4417e4f06',
diff --git a/extensions/TemplateOverrides/template/en/default/email/bugmail-header.txt.tmpl 
b/extensions/TemplateOverrides/template/en/default/email/bugmail-header.txt.tmpl
new file mode 100644
index 0000000..49004d6
--- /dev/null
+++ b/extensions/TemplateOverrides/template/en/default/email/bugmail-header.txt.tmpl
@@ -0,0 +1,23 @@
+[%# 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/reason-descs.none.tmpl" %]
+[% isnew = bug.lastdiffed ? 0 : 1 %]
+[% show_new = isnew
+              && (to_user.settings.bugmail_new_prefix.value == 'on') %]
+
+From: "[% bug.product %]" (GNOME Bugzilla) [% Param('mailfrom') %]
+To: [% to_user.email %]
+Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF show_new %][%+ bug.short_desc %]
+Date: [% date %]
+X-Bugzilla-Reason: [% reasonsheader %]
+X-Bugzilla-Type: [% bugmailtype %]
+X-Bugzilla-Watch-Reason: [% reasonswatchheader %]
+[%+ INCLUDE "email/header-common.txt.tmpl" %]
+X-Bugzilla-Changed-Fields: [% changedfields.join(" ") %]
+[%+ threadingmarker %]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]