From 7a15632fbba9ec4202a9063e696d19cc4ae88b40 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 17 Jul 2007 04:47:39 +0000 Subject: =?UTF-8?q?Bug=20388311:=20Users=20with=20no=20privs=20see=20"Reop?= =?UTF-8?q?en=20bug"=20on=20closed=20bugs=20even=20if=20they=20are=20not?= =?UTF-8?q?=20the=20reporter=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83?= =?UTF-8?q?=C2=A9ric=20Buclin=20=20r=3Dmkanat=20a=3DLpS?= =?UTF-8?q?olit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/knob.html.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'template/en') diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index 257ce4d94..a02bc20e3 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -32,8 +32,7 @@ [% FOREACH bug_status = bug.status.can_change_to %] [% NEXT IF bug.isunconfirmed && bug_status.is_open && !bug.user.canconfirm %] [% NEXT IF bug.isopened && !bug.isunconfirmed && bug_status.is_open && !bug.user.canedit %] - [% NEXT IF !bug_status.is_open && !bug.user.canedit && !bug.user.isreporter %] - [% NEXT IF !bug_status.is_open && bug_status.is_open && !bug.user.canedit && !bug.user.isreporter %] + [% NEXT IF (!bug_status.is_open || !bug.isopened) && !bug.user.canedit && !bug.user.isreporter %] [%# Special hack to only display UNCO or REOP when reopening, but not both; # for compatibility with older versions. %] [% NEXT IF !bug.isopened && (bug.everconfirmed && bug_status.name == "UNCONFIRMED" -- cgit v1.2.1