~ubuntu-branches/ubuntu/oneiric/bugzilla/oneiric

« back to all changes in this revision

Viewing changes to template/en/default/request/email.txt.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):     Myk Melez <myk@mozilla.org>
20
 
  #                     Jeff Hedlund <jeff.hedlund@matrixsi.com>
21
 
  #                     Frédéric Buclin <LpSolit@gmail.com>
22
 
  #%]
23
 
 
24
 
[% PROCESS global/variables.none.tmpl %]
25
 
 
26
 
[% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %]
27
 
[% attidsummary = attachment.id _ ': ' _ attachment.description %]
28
 
[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "canceled" ,
29
 
                '?' => "asked" } %]
30
 
 
31
 
[% to_identity = "" %]
32
 
[% IF flag.status == '?' %]
33
 
  [% to_identity = flag.requestee.identity _ " for" %]
34
 
  [% subject_status = "requested" %]
35
 
[% ELSE %]
36
 
  [% IF flag.requester %]
37
 
    [% to_identity = flag.requester.identity _ "'s request for" %]
38
 
  [% END %]
39
 
  [% subject_status = statuses.${flag.status} %]
40
 
[% END %]
41
 
From: [% Param('mailfrom') %]
42
 
To: [% to %]
43
 
Subject: [% flag.type.name %] [%+ subject_status %]: [[% terms.Bug %] [%+ bug.bug_id %]] [% bug.short_desc %]
44
 
[%- IF attachment %] :
45
 
  [Attachment [% attachment.id %]] [% attachment.description %][% END %]
46
 
X-Bugzilla-Type: request
47
 
 
48
 
[%+ USE wrap -%]
49
 
[%- FILTER bullet = wrap(80) -%]
50
 
 
51
 
[% user.identity %] has [% statuses.${flag.status} %] [%+ to_identity %] [%+ flag.type.name %]:
52
 
 
53
 
[% terms.Bug %] [%+ bugidsummary %]
54
 
[% END %]
55
 
[%+ Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]
56
 
[% IF attachment %]
57
 
 
58
 
[% FILTER bullet = wrap(80) %]
59
 
Attachment [% attidsummary %]
60
 
[%- END %]
61
 
[%+ Param('urlbase') %]attachment.cgi?id=[% attachment.id %]&action=edit
62
 
[%- END %]
63
 
[%- FILTER bullet = wrap(80) %]
64
 
 
65
 
[% USE Bugzilla %]
66
 
[% IF Bugzilla.cgi.param("comment") && Bugzilla.cgi.param("comment").length > 0 %]
67
 
------- Additional Comments from [% user.identity %]
68
 
[%+ Bugzilla.cgi.param("comment") %]
69
 
[% END %]
70
 
 
71
 
[%- END %]