From 6dcedea5ad8df5da25bf65c303ceb14d6fb32300 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 4 Jun 2006 17:23:38 +0000 Subject: [PATCH] r866: Adding a newbug notification --- docs/template_changes.txt | 20 ++++++++++++-------- includes/permissions.php | 1 + templates/userctrl.tpl | 16 +++++++++++----- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/docs/template_changes.txt b/docs/template_changes.txt index 5523b5a..a41cc8f 100644 --- a/docs/template_changes.txt +++ b/docs/template_changes.txt @@ -154,9 +154,6 @@ Index: templates/userctrl.tpl --- templates/userctrl.tpl (revision 846) +++ templates/userctrl.tpl (working copy) @@ -105,6 +105,98 @@ - - - +
+ +
@@ -171,12 +168,18 @@ Index: templates/userctrl.tpl + {@"Voter"} + {@"Commenter"} + ++ + ++ ++ {@"New bug is added"} ++ ++ ++ + + {@"I am made the assignee"} + + -+ ++ + + + @@ -185,7 +188,7 @@ Index: templates/userctrl.tpl + {@"Status or resolution changes"} + + -+ ++ + + + @@ -194,7 +197,7 @@ Index: templates/userctrl.tpl + {@"'Duplicates' field is changed"} + + -+ ++ + + + @@ -203,7 +206,7 @@ Index: templates/userctrl.tpl + {@"A new comment is added"} + + -+ ++ + + + @@ -212,7 +215,7 @@ Index: templates/userctrl.tpl + {@"A new attachment is added"} + + -+ ++ + + + @@ -220,6 +223,7 @@ Index: templates/userctrl.tpl + + {@"Any other field changes"} + ++ +
+ + diff --git a/includes/permissions.php b/includes/permissions.php index 213e0b8..9eb18aa 100644 --- a/includes/permissions.php +++ b/includes/permissions.php @@ -70,6 +70,7 @@ $bugsys->emailoptions = array( 'newcomment' => 256, // new comment 'newattachment' => 512, // new attachment 'otherfield' => 1024, // any other field changes + 'newbug' => 2048 // new bug ) ); diff --git a/templates/userctrl.tpl b/templates/userctrl.tpl index cc95fdd..016a732 100644 --- a/templates/userctrl.tpl +++ b/templates/userctrl.tpl @@ -119,12 +119,18 @@ $header {@"Voter"} {@"Commenter"} + + + {@"New bug is added"} + + + {@"I am made the assignee"} - + @@ -133,7 +139,7 @@ $header {@"Status or resolution changes"} - + @@ -142,7 +148,7 @@ $header {@"'Duplicates' field is changed"} - + @@ -151,7 +157,7 @@ $header {@"A new comment is added"} - + @@ -160,7 +166,7 @@ $header {@"A new attachment is added"} - + -- 2.22.5