diff options
author | lpsolit%gmail.com <> | 2009-12-28 01:58:47 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-12-28 01:58:47 +0100 |
commit | 89a15fbe3ec584369355ab9112bf98f21876d958 (patch) | |
tree | e9817bcf67f1b32ddcf94380406003652e3d5a35 | |
parent | 3a8bc27b6754a699e4c6cc49aba86d65e1bbf2cc (diff) | |
download | bugzilla-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
-rw-r--r-- | template/en/default/whine/mail.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/whine/mail.txt.tmpl | 6 | ||||
-rwxr-xr-x | whine.pl | 1 |
3 files changed, 2 insertions, 11 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 %] @@ -440,7 +440,6 @@ sub run_queries { bug_status resolution short_desc - assigned_to ); # A new Bugzilla::CGI object needs to be created to allow # Bugzilla::Search to execute a saved query. It's exceedingly weird, |