From 89a15fbe3ec584369355ab9112bf98f21876d958 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 28 Dec 2009 00:58:47 +0000 Subject: Bug 511216: Assignee is blank in Whine emails - Patch by Kent Rogers r/a=Lpsolit --- template/en/default/whine/mail.html.tmpl | 6 +----- template/en/default/whine/mail.txt.tmpl | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'template/en/default/whine') 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" %] - @@ -81,7 +77,7 @@ [% display_value("bug_severity", bug.bug_severity) FILTER html %] [% display_value("priority", bug.priority) FILTER html %] [% display_value("rep_platform", bug.rep_platform) FILTER html %] - [% bug.$assignee_login_string FILTER html %] + [% bug.assigned_to FILTER html %] [% display_value("bug_status", bug.bug_status) FILTER html %] [% display_value("resolution", bug.resolution) FILTER html %] [% bug.short_desc FILTER html %] 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 %] -- cgit v1.2.3-24-g4f1b