Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
16e6b9c6
Commit
16e6b9c6
authored
May 08, 2012
by
Byron Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 663747: Add an option to disable 'New: ' prefix on bugmail
r=gerv, a=LpSolit
parent
4f608d4d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Install.pm
Bugzilla/Install.pm
+2
-0
bugmail-header.txt.tmpl
template/en/default/email/bugmail-header.txt.tmpl
+3
-1
setting-descs.none.tmpl
template/en/default/global/setting-descs.none.tmpl
+1
-0
No files found.
Bugzilla/Install.pm
View file @
16e6b9c6
...
@@ -84,6 +84,8 @@ sub SETTINGS {
...
@@ -84,6 +84,8 @@ sub SETTINGS {
default
=>
'html'
},
default
=>
'html'
},
# 2011-10-11 glob@mozilla.com -- Bug 301656
# 2011-10-11 glob@mozilla.com -- Bug 301656
requestee_cc
=>
{
options
=>
[
'on'
,
'off'
],
default
=>
'on'
},
requestee_cc
=>
{
options
=>
[
'on'
,
'off'
],
default
=>
'on'
},
# 2012-04-30 glob@mozilla.com -- Bug 663747
bugmail_new_prefix
=>
{
options
=>
[
'on'
,
'off'
],
default
=>
'on'
},
}
}
};
};
...
...
template/en/default/email/bugmail-header.txt.tmpl
View file @
16e6b9c6
...
@@ -8,10 +8,12 @@
...
@@ -8,10 +8,12 @@
[% PROCESS "global/reason-descs.none.tmpl" %]
[% PROCESS "global/reason-descs.none.tmpl" %]
[% isnew = bug.lastdiffed ? 0 : 1 %]
[% isnew = bug.lastdiffed ? 0 : 1 %]
[% show_new = isnew
&& (to_user.settings.bugmail_new_prefix.value == 'on') %]
From: [% Param('mailfrom') %]
From: [% Param('mailfrom') %]
To: [% to_user.email %]
To: [% to_user.email %]
Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF
is
new %][%+ bug.short_desc %]
Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF
show_
new %][%+ bug.short_desc %]
Date: [% date %]
Date: [% date %]
X-Bugzilla-Reason: [% reasonsheader %]
X-Bugzilla-Reason: [% reasonsheader %]
X-Bugzilla-Type: [% isnew ? 'new' : 'changed' %]
X-Bugzilla-Type: [% isnew ? 'new' : 'changed' %]
...
...
template/en/default/global/setting-descs.none.tmpl
View file @
16e6b9c6
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
"html" => "HTML",
"html" => "HTML",
"text_only" => "Text Only",
"text_only" => "Text Only",
"requestee_cc" => "Automatically add me to the CC list of $terms.bugs I am requested to review",
"requestee_cc" => "Automatically add me to the CC list of $terms.bugs I am requested to review",
"bugmail_new_prefix" => "Add 'New:' to subject line of email sent when a new $terms.bug is filed",
}
}
%]
%]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment