summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-12-28 01:58:47 +0100
committerlpsolit%gmail.com <>2009-12-28 01:58:47 +0100
commit89a15fbe3ec584369355ab9112bf98f21876d958 (patch)
treee9817bcf67f1b32ddcf94380406003652e3d5a35 /template
parent3a8bc27b6754a699e4c6cc49aba86d65e1bbf2cc (diff)
downloadbugzilla-89a15fbe3ec584369355ab9112bf98f21876d958.tar.gz
bugzilla-89a15fbe3ec584369355ab9112bf98f21876d958.tar.xz
Bug 511216: Assignee is blank in Whine emails - Patch by Kent Rogers <kar@cray.com> r/a=Lpsolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/whine/mail.html.tmpl6
-rw-r--r--template/en/default/whine/mail.txt.tmpl6
2 files changed, 2 insertions, 10 deletions
diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl
index cd432514f..a4f0edeef 100644
--- a/template/en/default/whine/mail.html.tmpl
+++ b/template/en/default/whine/mail.html.tmpl
@@ -31,10 +31,6 @@
[% PROCESS global/variables.none.tmpl %]
[% PROCESS 'global/field-descs.none.tmpl' %]
-[%# assignee_login_string is a literal string used for getting the
- # assignee's name out of the bug data %]
-[% SET assignee_login_string="map_assigned_to.login_name" %]
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
@@ -81,7 +77,7 @@
<td align="left">[% display_value("bug_severity", bug.bug_severity) FILTER html %]</td>
<td align="left">[% display_value("priority", bug.priority) FILTER html %]</td>
<td align="left">[% display_value("rep_platform", bug.rep_platform) FILTER html %]</td>
- <td align="left">[% bug.$assignee_login_string FILTER html %]</td>
+ <td align="left">[% bug.assigned_to FILTER html %]</td>
<td align="left">[% display_value("bug_status", bug.bug_status) FILTER html %]</td>
<td align="left">[% display_value("resolution", bug.resolution) FILTER html %]</td>
<td align="left">[% bug.short_desc FILTER html %]</td>
diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl
index 415081302..862ae2671 100644
--- a/template/en/default/whine/mail.txt.tmpl
+++ b/template/en/default/whine/mail.txt.tmpl
@@ -31,10 +31,6 @@
[% PROCESS global/variables.none.tmpl %]
[% PROCESS 'global/field-descs.none.tmpl' %]
-[%# assignee_login_string is a literal string used for getting the
- # assignee's name out of the bug data %]
-[% SET assignee_login_string="map_assigned_to.login_name" %]
-
[% body %]
[% IF author.login == recipient.login %]
@@ -56,7 +52,7 @@
Priority: [%+ display_value("priority", bug.priority) -%]
Severity: [%+ display_value("bug_severity", bug.bug_severity) -%]
Platform: [%+ display_value("rep_platform", bug.rep_platform) %]
- Assignee: [%+ bug.$assignee_login_string %]
+ Assignee: [%+ bug.assigned_to %]
Status: [%+ display_value("bug_status", bug.bug_status) %]
[%- IF bug.resolution -%] Resolution: [% display_value("resolution", bug.resolution) -%]
[%- END %]