From d055246d2010e546bbad8c65d99496d53eee0bff Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 22 Aug 2005 00:36:50 +0000 Subject: Bug 303401: move the move.pl code into process_bug.cgi - Patch by Frédéric Buclin r/a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/process/results.html.tmpl | 2 ++ template/en/default/global/user-error.html.tmpl | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl index 711776419..a21858792 100644 --- a/template/en/default/bug/process/results.html.tmpl +++ b/template/en/default/bug/process/results.html.tmpl @@ -44,6 +44,7 @@ 'dep' => "Checking for dependency changes on $terms.bug $id" , 'votes' => "$terms.Bug $id confirmed by number of votes" , 'created' => "$terms.Bug $id has been added to the database" , + 'move' => "$terms.Bug $id has been moved to another database" , } linktext = { @@ -52,6 +53,7 @@ 'dep' => "Go To $terms.Bug $id" , 'votes' => "Go To $terms.Bug $id" , 'created' => "Go To $terms.Bug $id" , + 'move' => "Back To $terms.Bug $id" , } %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6c449bd69..d86befd5d 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -134,6 +134,8 @@ delete [% ELSIF action == "edit" %] add, modify or delete + [% ELSIF action == "move" %] + move [% ELSIF action == "run" %] run [% ELSIF action == "schedule" %] @@ -144,6 +146,8 @@ [% IF object == "attachment" %] this attachment + [% ELSIF object == "bugs" %] + [%+ terms.bugs %] [% ELSIF object == "charts" %] the "New Charts" feature [% ELSIF object == "classifications" %] @@ -800,7 +804,12 @@ [% title = "Missing Search" %] The search named [% queryname FILTER html %] does not exist. - + + [% ELSIF error == "move_bugs_disabled" %] + [% title = BLOCK %][% terms.Bug %] Moving Disabled[% END %] + Sorry, [% terms.bug %] moving has been disabled. If you need + to move [% terms.abug %], please contact [% Param("maintainer") %]. + [% ELSIF error == "must_be_patch" %] [% title = "Attachment Must Be Patch" %] Attachment #[% attach_id FILTER html %] must be a patch. -- cgit v1.2.3-24-g4f1b