Commit 7e045dd0 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 289002: cannot set/clear requests with requestee - Patch by Teemu Mannermaa…

Bug 289002: cannot set/clear requests with requestee - Patch by Teemu Mannermaa <wicked@etlicon.fi> r=LpSolit a=justdave
parent 9b0870a6
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
'?' => "asked" } %] '?' => "asked" } %]
[% IF flag.status == '?' %] [% IF flag.status == '?' %]
[% to_email = flag.requestee.email [% to_email = flag.requestee.email
IF flag.requestee.wants_mail(constants.EVT_FLAG_REQUESTED) %] IF flag.requestee.wants_mail([constants.EVT_FLAG_REQUESTED]) %]
[% to_identity = flag.requestee.identity %] [% to_identity = flag.requestee.identity %]
[% subject_status = "requested" %] [% subject_status = "requested" %]
[% ELSE %] [% ELSE %]
[% to_email = flag.setter.email [% to_email = flag.setter.email
IF flag.setter.wants_mail(constants.EVT_REQUESTED_FLAG) %] IF flag.setter.wants_mail([constants.EVT_REQUESTED_FLAG]) %]
[% to_identity = flag.setter.identity _ "'s request" %] [% to_identity = flag.setter.identity _ "'s request" %]
[% subject_status = statuses.${flag.status} %] [% subject_status = statuses.${flag.status} %]
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment