From f51570e3f8605c2f1ffc927cf6263adc1f560e81 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 17 May 2007 20:10:52 +0000 Subject: Bug 377485: Implement editworkflow.cgi - Patch by Frédéric Buclin r=gerv r=mkanat a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../en/default/admin/workflow/comment.html.tmpl | 93 ++++++++++++++++++++++ template/en/default/admin/workflow/edit.html.tmpl | 93 ++++++++++++++++++++++ 2 files changed, 186 insertions(+) create mode 100644 template/en/default/admin/workflow/comment.html.tmpl create mode 100644 template/en/default/admin/workflow/edit.html.tmpl (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/workflow/comment.html.tmpl b/template/en/default/admin/workflow/comment.html.tmpl new file mode 100644 index 000000000..5e9a788d6 --- /dev/null +++ b/template/en/default/admin/workflow/comment.html.tmpl @@ -0,0 +1,93 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # Contributor(s): Frédéric Buclin + # Gervase Markham + #%] + +[% PROCESS "global/field-descs.none.tmpl" %] + +[% INCLUDE global/header.html.tmpl + title = "Edit Actions Triggered by the Workflow" + style_urls = ['skins/standard/admin.css'] +%] + + + +

+ This page allows you to define which status transitions require a comment + by the user doing the change. +

+ +
+ + + + + + + + + + [% FOREACH status = statuses %] + + [% END %] + + + [%# This defines the entry point in the workflow %] + [% p = [{id => 0, value => "{Start}", is_open => 1}] %] + [% FOREACH status = p.merge(statuses) %] + + + + [% FOREACH new_status = statuses %] + [% IF workflow.${status.id}.${new_status.id}.defined %] + + [% ELSE %] + + [% END %] + [% END %] + + [% END %] +
 To
From  + [% status.value FILTER html %] +
+ [% status.value FILTER html %] + + +  
+ +

+ + + - + Cancel Changes - + View Current Workflow +

+ +
+ +[% INCLUDE global/footer.html.tmpl %] diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl new file mode 100644 index 000000000..dee71c0a1 --- /dev/null +++ b/template/en/default/admin/workflow/edit.html.tmpl @@ -0,0 +1,93 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # Contributor(s): Frédéric Buclin + # Gervase Markham + #%] + +[% PROCESS "global/field-descs.none.tmpl" %] + +[% INCLUDE global/header.html.tmpl + title = "Edit Workflow" + style_urls = ['skins/standard/admin.css'] +%] + + + +

+ This page allows you to define which status transitions are valid + in your workflow. +

+ +
+ + + + + + + + + + [% FOREACH status = statuses %] + + [% END %] + + + [%# This defines the entry point in the workflow %] + [% p = [{id => 0, value => "{Start}", is_open => 1}] %] + [% FOREACH status = p.merge(statuses) %] + + + + [% FOREACH new_status = statuses %] + [% IF status.id != new_status.id %] + + [% ELSE %] + + [% END %] + [% END %] + + [% END %] +
 To
From  + [% status.value FILTER html %] +
+ [% status.value FILTER html %] + + +  
+ +

+ + + - + Cancel Changes - + View Current Triggers +

+ +
+ +[% INCLUDE global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b