~ubuntu-branches/debian/sid/bugzilla/sid

« back to all changes in this revision

Viewing changes to template/en/default/bug/process/bugmail.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[%# 1.0@bugzilla.org %]
2
 
[%# The contents of this file are subject to the Mozilla Public
3
 
  # License Version 1.1 (the "License"); you may not use this file
4
 
  # except in compliance with the License. You may obtain a copy of
5
 
  # the License at http://www.mozilla.org/MPL/
6
 
  #
7
 
  # Software distributed under the License is distributed on an "AS
8
 
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
 
  # implied. See the License for the specific language governing
10
 
  # rights and limitations under the License.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
14
 
  # The Initial Developer of the Original Code is Netscape Communications
15
 
  # Corporation. Portions created by Netscape are
16
 
  # Copyright (C) 1998 Netscape Communications Corporation. All
17
 
  # Rights Reserved.
18
 
  #
19
 
  # Contributor(s): Bradley Baetz <bbaetz@student.usyd.edu.au>
20
 
  #                 J. Paul Reed <preed@sigkill.com>
21
 
  #%]
22
 
 
23
 
[%# INTERFACE:
24
 
  # mailing_bugid: string. ID of the bug this mail is concerning.
25
 
  # mailrecipients: hash. People involved in this change. Hash has up to five
26
 
  #                elements:
27
 
  #                changer: string. The login name of the user who made the
28
 
  #                change.
29
 
  #
30
 
  #                For bug changes where people need to be notified:
31
 
  #                 owner: string. The login name of the bug assignee.
32
 
  #                 reporter: string. The login name of the bug reporter.
33
 
  #                 qacontact: string. The login name of the bug's QA contact.
34
 
  #                  Optional.
35
 
  #                 cc: list of strings. The login names of those on the CC
36
 
  #                  list.
37
 
  #%]
38
 
 
39
 
[% PROCESS global/variables.none.tmpl %]
40
 
 
41
 
[% mail = SendBugMail(mailing_bugid, mailrecipients) %]
42
 
 
43
 
<dl>
44
 
[% PROCESS emails
45
 
   description = "Email sent to"
46
 
   names = mail.sent
47
 
%]
48
 
 
49
 
[% PROCESS emails
50
 
   description = "Excluding"
51
 
   names = mail.excluded
52
 
%]
53
 
</dl>
54
 
 
55
 
[%############################################################################%]
56
 
[%# Block for a set of email addresses                                       #%]
57
 
[%############################################################################%]
58
 
 
59
 
[% BLOCK emails %]
60
 
  <dt>[% description FILTER html %]:</dt>
61
 
  <dd>
62
 
  [% IF user.can_see_bug(mailing_bugid) %]
63
 
    [% IF names.size > 0 %]
64
 
      [%+ FOREACH name = names %]
65
 
        <code>[% name FILTER html %]</code>[% ", " UNLESS loop.last() %]
66
 
      [% END %]
67
 
    [% ELSE %]
68
 
      no one
69
 
    [% END %]
70
 
  [% ELSE %]
71
 
    (list of e-mails not available)
72
 
  [% END %]
73
 
  </dd>
74
 
[% END %]