Commit 1f5ff12c authored by Frank Bergmann's avatar Frank Bergmann

- Workflow (from Malte):

  Added localization
parent 96d6bf50
......@@ -9,7 +9,7 @@
<singleton-p>t</singleton-p>
<auto-mount>acs-workflow</auto-mount>
<version name="4.5.3" url="http://www.openacs.org/repository/download/apm/acs-workflow-4.5.3.apm">
<version name="4.5.5d1" url="http://www.openacs.org/repository/download/apm/acs-workflow-4.5.5d1.apm">
<database-support>
<database>oracle</database>
<database>postgresql</database>
......@@ -22,7 +22,7 @@
<release-date>2002-05-15</release-date>
<vendor url="http://www.openacs.org/">OpenACS</vendor>
<provides url="acs-workflow" version="4.5.3"/>
<provides url="acs-workflow" version="4.5.5d1"/>
<requires url="acs-kernel" version="4.6.2"/>
<requires url="notifications" version="4.0"/>
<requires url="acs-mail" version="4.1"/>
......
<?xml version="1.0" encoding="ISO-8859-1"?>
<message_catalog package_key="acs-workflow" package_version="4.5.3" locale="de_DE" charset="ISO-8859-1">
<message_catalog package_key="acs-workflow" locale="de_DE" charset="ISO-8859-1">
<msg key="actions">Aktionen</msg>
<msg key="As_part_of">Part of</msg>
<msg key="assignment">Zuweisung</msg>
<msg key="attributes">Attribute</msg>
<msg key="delete_arc">Bogen lschen</msg>
<msg key="Display_">Anzeigen: [</msg>
<msg key="Edit">ndern</msg>
<msg key="edit">editieren</msg>
<msg key="Input_Places">Eingangsort</msg>
<msg key="On_what">auf was?</msg>
<msg key="Output_Places">Ausgangsorte</msg>
<msg key="Task">Aufgabe</msg>
<msg key="To_Do">To Do</msg>
</message_catalog>
This diff is collapsed.
......@@ -150,7 +150,7 @@ begin
null,
start_case__case_id,
''case start'',
''Case started'',
''#acs-workflow.Case_started#'',
now(),
start_case__creation_user,
start_case__creation_ip,
......
......@@ -41,8 +41,8 @@ ad_proc wf_attribute_widget {
switch $attribute(datatype) {
boolean {
#set widget "<select name=\"$name\"><option value=\"-\">--Please select--</option><option value=\"t\">Yes</option><option value=\"f\">No</option></select>"
set widget "<select name=\"$name\"><option value=\"t\" [ad_decode $attribute(value) "t" "SELECTED" ""]>Yes</option><option value=\"f\" [ad_decode $attribute(value) f SELECTED ""]>No</option></select>"
#set widget "<select name=\"$name\"><option value=\"-\">--Please select--</option><option value=\"t\">#acs-kernel.common_Yes#</option><option value=\"f\">#acs-kernel.common_No#</option></select>"
set widget "<select name=\"$name\"><option value=\"t\" [ad_decode $attribute(value) "t" "SELECTED" ""]>#acs-kernel.common_Yes#</option><option value=\"f\" [ad_decode $attribute(value) f SELECTED ""]>#acs-kernel.common_No#</option></select>"
}
number {
......@@ -76,7 +76,7 @@ ad_proc wf_attribute_value_pretty {
attribute_info
} {
Returns a nice display version of the value of an attribute.
Specifically, it displays booleans as "Yes" or "No", and it
Specifically, it displays booleans as "#acs-kernel.common_Yes#" or "#acs-kernel.common_No#", and it
displays a party with the <a
href="/api-doc/proc-view?proc=ad_present_user"><code>ad_present_user</code></a>
function.
......@@ -91,7 +91,7 @@ ad_proc wf_attribute_value_pretty {
set value $attribute(value)
switch $attribute(datatype) {
boolean {
set value [ad_decode $value "t" "Yes" "No"]
set value [ad_decode $value "t" "#acs-kernel.common_Yes#" "#acs-kernel.common_No#"]
}
}
return $value
......
......@@ -406,10 +406,11 @@ ad_proc wf_graphviz_dot_exec {
if {[catch {
if { $to_file_p } {
exec -keepnewline $graphviz_dot_path -T$output -o $tmp_out $tmp_dot
exec -keepnewline $graphviz_dot_path -T$output -Gcharset=latin1 -o $tmp_out $tmp_dot
ns_log Notice "wf_graphviz_dot_exec: exec -keepnewline $graphviz_dot_path -T$output -o $tmp_out $tmp_dot"
} else {
set result [exec -keepnewline $graphviz_dot_path -T$output $tmp_dot]
set result [exec -keepnewline $graphviz_dot_path -Gcharset=latin1 -T$output $tmp_dot]
ns_log Notice "wf_graphviz_dot_exec: exec -keepnewline $graphviz_dot_path -T$output $tmp_dot"
ad_return_complaint 1 $result
}
......
<if @active_tasks:rowcount@ eq 0>
<blockquote>
<em>No active tasks</em>
<em>#acs-workflow.No_active_tasks#</em>
</blockquote>
</if>
<else>
......@@ -9,14 +9,14 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>Task Name</th>
<th>State</th>
<th>Activated Date</th>
<th>Started Date</th>
<th>Deadline</th>
<th>Holder</th>
<th>Assignees</th>
<th>Action</th>
<th>#acs-workflow.Task_Name#</th>
<th>#acs-workflow.State#</th>
<th>#acs-workflow.Activated_Date#</th>
<th>#acs-workflow.Started_Date#</th>
<th>#acs-workflow.Deadline#</th>
<th>#acs-workflow.Holder#</th>
<th>#acs-workflow.Assignees#</th>
<th>#acs-workflow.Action#</th>
</tr>
<multiple name="active_tasks">
<tr bgcolor="#eeeeee">
......@@ -25,7 +25,7 @@
<td>@active_tasks.enabled_date_pretty@</td>
<td>
<if @active_tasks.started_date_pretty@ not nil>@active_tasks.started_date_pretty@</if>
<else><em>not started</em></else>
<else><em>#acs-workflow.not_started#</em></else>
</td>
<td>
<if @active_tasks.deadline_pretty@ not nil>@active_tasks.deadline_pretty@</if>
......@@ -51,12 +51,12 @@
</group>
</if>
<else>
<em>Unassigned</em>
<em>#acs-workflow.Unassigned#</em>
</else>
</td>
<td>
<if @active_tasks.reassign_url@ not nil>
(<a href="@active_tasks.reassign_url@">reassign</a>)
(<a href="@active_tasks.reassign_url@">#acs-workflow.reassign#</a>)
</if>
<else>&nbsp;</else>
</td>
......@@ -68,3 +68,4 @@
</table>
</else>
<master>
<property name="title">Edit Arc</property>
<property name="title">#acs-workflow.Edit_Arc#</property>
<property name="context">@context;noquote@</property>
<property name="focus">arc.guard_description</property>
<property name="focus">#acs-workflow.arcguard_description#</property>
<blockquote>
<em>
A guard is some condition that must be satisfied for a token to travel over that arc.
#acs-workflow.lt_A_guard_is_some_condi#
</em>
</blockquote>
......@@ -15,12 +15,12 @@
<table>
<tr>
<th align=right>Plaintext description</th>
<th align=right>#acs-workflow.lt_Plaintext_description#</th>
<td><input type=text name=guard_description size=80 value="@guard_description@"></td>
</tr>
<tr>
<th align=right>Guard condition</th>
<th align=right>#acs-workflow.Guard_condition#</th>
<td>
<select name="guard_callback">
<multiple name="guard_options">
......@@ -31,9 +31,9 @@
</tr>
<tr>
<th align=right>Optional argument</th>
<th align=right>#acs-workflow.Optional_argument#</th>
<td><input type=text name=guard_custom_arg size=80 value="@guard_custom_arg@">
<br><em>(Depends on the condition chosen above)</em></td>
<br><em>#acs-workflow.lt_Depends_on_the_condit#</em></td>
</tr>
<tr>
......@@ -44,4 +44,4 @@
</table>
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Assign Transition to @role.role_name;noquote@</property>
<property name="title">#acs-workflow.lt_Assign_Transition_to_#</property>
<property name="context">@context;noquote@</property>
<form action="assign-transition-role-2" method="post">
@export_form_vars@
<table cellspacing="1" cellpadding="3" border="0">
<tr>
<th>Workflow</th>
<th>#acs-workflow.Workflow#</th>
<td>@workflow.pretty_name@</td>
</tr>
<tr>
<th>Role</th>
<th>#acs-workflow.Role#</th>
<td>@role.role_name@</td>
</tr>
<tr>
<th>Transition</th>
<th>#acs-workflow.Transition#</th>
<td><select name="transition_key">
<multiple name="available_transitions">
<option value="@available_transitions.transition_key@">@available_transitions.transition_name@</option>
......@@ -28,4 +28,4 @@
</table>
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Add attribute</property>
<property name="title">#acs-workflow.Add_attribute#</property>
<property name="context">@context;noquote@</property>
<property name="focus">attribute.name</property>
<property name="focus">#acs-workflow.attributename#</property>
<form action="attribute-add-2" name="attribute">
@export_vars;noquote@
<table>
<tr>
<th align=right>Name</th>
<th align=right>#acs-workflow.Name#</th>
<td>
<input type="text" size="30" name="attribute_name">
<br><small>(no special characters)</small>
<br><small>#acs-workflow.lt_no_special_characters#</small>
</td>
</tr>
<tr>
<th align=right>Pretty name<br>(Question)</th>
<th align=right>#acs-workflow.Pretty_name#<br>#acs-workflow.Question#</th>
<td>
<input type="text" size="80" name="pretty_name">
</td>
</tr>
<tr>
<th align=right>Datatype</th>
<th align=right>#acs-workflow.Datatype#</th>
<td>
<select name="datatype">
<multiple name="datatypes">
......@@ -31,7 +31,7 @@
</td>
</tr>
<tr>
<th align=right>Default value</th>
<th align=right>#acs-workflow.Default_value#</th>
<td>
<input type="text" size="80" name="default_value">
</td>
......@@ -43,4 +43,4 @@
</form>
</master>
\ No newline at end of file
</master>
<if @attributes:rowcount@ eq 0>
<blockquote>
<em>No attributes defined</em>
<em>#acs-workflow.lt_No_attributes_defined#</em>
</blockquote>
</if>
<else>
......@@ -9,16 +9,16 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr bgcolor="#ffffe4">
<th>No.</th>
<th>Attribute name</th>
<th>Datatype</th>
<th>Used</th>
<th>Action</th>
<th>#acs-workflow.No#</th>
<th>#acs-workflow.Attribute_name#</th>
<th>#acs-workflow.Datatype#</th>
<th>#acs-workflow.Used#</th>
<th>#acs-workflow.Action#</th>
</tr>
<if @attributes:rowcount@ eq 0>
<tr bgcolor="#eeeeee">
<td colspan="4">
<em>No attributes</em>
<em>#acs-workflow.No_attributes#</em>
</td>
</tr>
</if>
......@@ -29,15 +29,15 @@
<td>@attributes.pretty_name@</td>
<td>@attributes.datatype@</td>
<td>
<if @attributes.used_p@ eq 1>Yes</if>
<else>No</else>
<if @attributes.used_p@ eq 1>#acs-workflow.Yes#</if>
<else>#acs-workflow.No_1#</else>
</td>
<td>
<if @attributes.edit_url@ not nil>
(<a href="@attributes.edit_url@">edit</a>)
(<a href="@attributes.edit_url@">#acs-workflow.edit#</a>)
</if>
<if @attributes.delete_url@ not nil>
(<a href="@attributes.delete_url@">delete</a>)
(<a href="@attributes.delete_url@">#acs-workflow.delete#</a>)
</if>
</td>
</tr>
......@@ -49,4 +49,5 @@
</table>
</else>
(<a href="@add_url@">add attribute</a>)
(<a href="@add_url@">#acs-workflow.add_attribute#</a>)
<master>
<property name="title">Attributes for @workflow_name;noquote@</property>
<property name="title">#acs-workflow.lt_Attributes_for_workfl#</property>
<property name="context">@context;noquote@</property>
<table>
......@@ -24,3 +24,4 @@
</table>
</master>
<master>
<property name="title">Case: @case.object_name;noquote@ (@case.state;noquote@)</property>
<property name="title">#acs-workflow.lt_Case_caseobject_namen#</property>
<property name="context">@context;noquote@</property>
<h3>All Tasks</h3>
<h3>#acs-workflow.All_Tasks#</h3>
<table border=1>
<tr><th>State</th><th>Name</th></tr>
<tr><th>#acs-workflow.State#</th><th>#acs-workflow.Name#</th></tr>
<multiple name="tasks">
<tr><td>@tasks.state@</td><td><a href="../task?task_id=@tasks.task_id@">@tasks.transition_key@</a></td></tr>
</multiple>
<if @tasks:rowcount@ eq 0>
<tr><td><em>no tasks</em></td></tr>
<tr><td><em>#acs-workflow.no_tasks#</em></td></tr>
</if>
</table>
<h3>All Attributes</h3>
<h3>#acs-workflow.All_Attributes#</h3>
<table border=1>
<tr><th>Name</th><th>Value</th></tr>
<tr><th>#acs-workflow.Name#</th><th>#acs-workflow.Value#</th></tr>
<multiple name="attributes">
<tr><td>@attributes.name@</td><td>@attributes.value@</td></tr>
</multiple>
<if @tasks:rowcount@ eq 0>
<tr><td><em>no attributes</em></td></tr>
<tr><td><em>#acs-workflow.no_attributes#</em></td></tr>
</if>
</table>
<h3>Tokens</h3>
<h3>#acs-workflow.Tokens#</h3>
<h4>Live Tokens</h4>
<h4>#acs-workflow.Live_Tokens#</h4>
<ul>
<multiple name="live_tokens">
<li>token in place @live_tokens.place_key@ (@live_tokens.state@)
<li>#acs-workflow.lt_token_in_place_live_t#
<if @live_tokens.locked_task_id@ not nil>
(held by task @live_tokens.locked_task_id@)
#acs-workflow.lt_held_by_task_live_tok#
</if>
</multiple>
<if @live_tokens:rowcount@ eq 0>
<em>no tokens</em>
<em>#acs-workflow.no_tokens#</em>
</if>
</ul>
<h4>Dead Tokens</h4>
<h4>#acs-workflow.Dead_Tokens#</h4>
<table border=1>
<tr><th>Place</th><th>State</th><th>Produced</th><th>Locked</th><th>Consumed</th><th>Canceled</th><th>Task</th></tr>
<tr><th>#acs-workflow.Place#</th><th>#acs-workflow.State#</th><th>#acs-workflow.Produced#</th><th>#acs-workflow.Locked#</th><th>#acs-workflow.Consumed#</th><th>#acs-workflow.Canceled#</th><th>#acs-workflow.Task#</th></tr>
<multiple name="dead_tokens">
<tr><td>@dead_tokens.place_key@</td><td>@dead_tokens.state@</td>
<td><small>@dead_tokens.produced_date_pretty@</small></td><td><small>@dead_tokens.locked_date_pretty@</small></td>
......@@ -52,27 +52,28 @@
<td>@dead_tokens.locked_task_id@</td></tr>
</multiple>
<if @dead_tokens:rowcount@ eq 0>
<tr><td><em>no tokens</em></td></tr>
<tr><td><em>#acs-workflow.no_tokens#</em></td></tr>
</if>
</table>
<h3>All Enabled Transitions</h3>
<h3>#acs-workflow.lt_All_Enabled_Transitio#</h3>
<ul>
<multiple name="enabled_transitions">
<li>@enabled_transitions.transition_name@ (@enabled_transitions.trigger_type@)
<if @enabled_transitions.trigger_type@ ne "user">
(<a href="transition-fire?case_id=@case.case_id@&transition_key=@enabled_transitions.transition_key@">fire</a>)
(<a href="transition-fire?case_id=@case.case_id@&transition_key=@enabled_transitions.transition_key@">#acs-workflow.fire#</a>)
</if>
</multiple>
<if @enabled_transitions:rowcount@ eq 0>
<em>no enabled transitions</em>
<em>#acs-workflow.lt_no_enabled_transition#</em>
</if>
</ul>
<h3>Journal</h3>
<h3>#acs-workflow.Journal#</h3>
<include src="../journal" case_id="@case.case_id;noquote@">
</master>
<master>
<property name="title">@workflow_name;noquote@ Cases</property>
<property name="title">#acs-workflow.lt_workflow_namenoquote_#</property>
<property name="context">@context;noquote@</property>
@dimensional_html;noquote@
......@@ -11,3 +11,4 @@
</master>
<master>
<property name="title">Add Context</property>
<property name="title">#acs-workflow.Add_Context#</property>
<property name="context">@context;noquote@</property>
<property name="focus">context.context_key</property>
<property name="focus">#acs-workflow.contextcontext_key#</property>
<form method="post" action="context-add-2" name="context">
@export_vars;noquote@
<table>
<tr><th align=right>Key</th><td><input type=text name=context_key></td><tr>
<tr><th align=right>#acs-workflow.Key#</th><td><input type=text name=context_key></td><tr>
<tr><th align=right>Name</th><td><input type=text name=context_name></td></tr>
<tr><th align=right>#acs-workflow.Name#</th><td><input type=text name=context_name></td></tr>
<tr><td colspan=2 align=center><input type=submit value="Create"></td></tr>
</table>
</form>
</master>
\ No newline at end of file
</master>
......@@ -9,15 +9,14 @@
<tr>
<td width="20%">&nbsp;</td>
<th align=center>
Place: @place.place_name@
(<a href="@place.edit_url@">edit</a>)
#acs-workflow.Place#: @place.place_name;noquote@ (<a href="@place.edit_url@">#acs-workflow.edit#</a>)
</th>
<td align=right width="20%">
<if @place.delete_url@ not nil>
(<a href="@place.delete_url@">delete place</a>)
(<a href="@place.delete_url@">#acs-workflow.delete_place#</a>)
</if>
<else>
(can't delete place)
#acs-workflow.cant_delete_place#
</else>
</td>
</tr>
......@@ -26,8 +25,8 @@
</td>
</tr>
<tr bgcolor=#ffffe4>
<th width="50%">Producing Transitions</th>
<th width="50%">Consuming Transitions</th>
<th width="50%">#acs-workflow.lt_Producing_Transitions#</th>
<th width="50%">#acs-workflow.lt_Consuming_Transitions#</th>
</tr>
<tr bgcolor=#eeeeee>
<td valign="top">
......@@ -41,14 +40,14 @@
</dt>
<dd>
<if @producing_transitions.guard_pretty@ not nil>
(<a href="@producing_transitions.guard_edit_url@">edit guard</a>)
(<a href="@producing_transitions.guard_delete_url@">delete guard</a>)
(<a href="@producing_transitions.guard_edit_url@">#acs-workflow.edit_guard#</a>)
(<a href="@producing_transitions.guard_delete_url@">#acs-workflow.delete_guard#</a>)
</if>
<else>
(<a href="@producing_transitions.guard_add_url@">add guard</a>)
(<a href="@producing_transitions.guard_add_url@">#acs-workflow.add_guard#</a>)
</else>
<if @producing_transitions.arc_delete_url@ not nil>
(<a href="@producing_transitions.arc_delete_url@">delete arc</a>)
(<a href="@producing_transitions.arc_delete_url@">#acs-workflow.delete_arc#</a>)
</if>
</dd>
</multiple>
......@@ -62,7 +61,7 @@
</dt>
<dd>
<if @consuming_transitions.arc_delete_url@ not nil>
(<a href="@consuming_transitions.arc_delete_url@">delete arc</a>)
(<a href="@consuming_transitions.arc_delete_url@">#acs-workflow.delete_arc#</a>)
</if>
</dd>
</multiple>
......@@ -74,16 +73,16 @@
<td align=center>
&nbsp;
<if @place.arc_add_url@ not nil>
(<a href="@place.arc_add_url@">add arc</a>)
(<a href="@place.arc_add_url@">#acs-workflow.add_arc#</a>)
</if>
<else>
(can't add arc)
#acs-workflow.cant_add_arc#
</else>
<if @place.arc_delete_url@ not nil>
(<a href="@place.arc_delete_url@">delete arc</a>)
(<a href="@place.arc_delete_url@">#acs-workflow.delete_arc#</a>)
</if>
<else>
(can't delete arc)
#acs-workflow.cant_delete_arc#
</else>
&nbsp;
</td>
......@@ -93,3 +92,4 @@
</tr>
</table>
......@@ -8,17 +8,16 @@
<tr>
<td width="25%">
(<a href="@transition.assignment_url@">assignment</a>)
(<a href="@transition.attributes_url@">attributes</a>)
(<a href="@transition.actions_url@">actions</a>)
(<a href="@transition.assignment_url@">#acs-workflow.assignment#</a>)
(<a href="@transition.attributes_url@">#acs-workflow.attributes#</a>)
(<a href="@transition.actions_url@">#acs-workflow.actions#</a>)
</td>
<th align=center valign=middle>
Task: @transition.transition_name@
(<a href="@transition.edit_url@">edit</a>)
#acs-workflow.Task#: @transition.transition_name;noquote@ (<a href="@transition.edit_url@">#acs-workflow.edit#</a>)
</th>
<td align="right" width="25%">
<if @transitions.delete_url@ not nil>
(<a href="@transition.delete_url@">delete task</a>)
(<a href="@transition.delete_url@">#acs-workflow.delete_task#</a>)
</if>
<else>
&nbsp;
......@@ -29,8 +28,8 @@
</td>
</tr>
<tr bgcolor=#ffffe4>
<th width="50%">Input Places</th>
<th width="50%">Output Places</th>
<th width="50%">#acs-workflow.Input_Places#</th>
<th width="50%">#acs-workflow.Output_Places#</th>
</tr>
<tr bgcolor=#eeeeee>
<td valign="top">
......@@ -41,7 +40,7 @@
</dt>
<dd>
<if @input_places.arc_delete_url@ not nil>
(<a href="@input_places.arc_delete_url@">delete arc</a>)
(<a href="@input_places.arc_delete_url@">#acs-workflow.delete_arc#</a>)
</if>
</dd>
</multiple>
......@@ -56,14 +55,14 @@
</dt>
<dd>
<if @output_places.guard_pretty@ not nil>
(<a href="@output_places.guard_edit_url@">edit guard</a>)
(<a href="@output_places.guard_delete_url@">delete guard</a>)
(<a href="@output_places.guard_edit_url@">#acs-workflow.edit_guard#</a>)
(<a href="@output_places.guard_delete_url@">#acs-workflow.delete_guard#</a>)
</if>
<else>
(<a href="@output_places.guard_add_url@">add guard</a>)
(<a href="@output_places.guard_add_url@">#acs-workflow.add_guard#</a>)
</else>
<if @output_places.arc_delete_url@ not nil>
(<a href="@output_places.arc_delete_url@">delete arc</a>)
(<a href="@output_places.arc_delete_url@">#acs-workflow.delete_arc#</a>)
</if>
</dd>
</multiple>
......@@ -75,10 +74,10 @@
<td align=center>
&nbsp;
<if @transition.arc_add_url@ not nil>
(<a href="@transition.arc_add_url@">add arc</a>)
(<a href="@transition.arc_add_url@">#acs-workflow.add_arc#</a>)
</if>
<if @transition.arc_delete_url@ not nil>
(<a href="@transition.arc_delete_url@">delete arc</a>)
(<a href="@transition.arc_delete_url@">#acs-workflow.delete_arc#</a>)
</if>
&nbsp;
</th>
......@@ -89,3 +88,4 @@
</table>
<master>
<property name="title">@workflow.pretty_name;noquote@ - Process Builder</property>
<property name="title">#acs-workflow.lt_workflowpretty_nameno#</property>
<property name="context">@context;noquote@</property>
......@@ -21,14 +21,14 @@
<table width="100%">
<tr>
<td>
Edit:
#acs-workflow.Edit#
<multiple name="edit_links">
(<a href="@edit_links.url@">@edit_links.title@</a>)
</multiple>
</td>
<td align=right>
Display: [
#acs-workflow.Display_#
<multiple name="format_links">
<if @format_links.rownum@ ne 1>|</if>
<if @format_links.selected_p@ eq 1>
......@@ -54,7 +54,7 @@
</if>
<if @instructions@ not nil>
<center><font color=red><b>@instructions@</b></font> (<a href="@cancel_url@">cancel</a>)</center><p>
<center><font color=red><b>@instructions@</b></font> (<a href="@cancel_url@">#acs-workflow.cancel#</a>)</center><p>
</if>
......@@ -71,3 +71,4 @@
<p>
</master>
<master>
<property name="title">Export Business Process</property>
<property name="title">#acs-workflow.lt_Export_Business_Proce#</property>
<property name="context">@context;noquote@</property>
<if @message@ not nil>
......@@ -25,4 +25,4 @@
</tr>
</table>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Export Business Process</property>
<property name="title">#acs-workflow.lt_Export_Business_Proce#</property>
<property name="context">@context;noquote@</property>
This will export the process definition as a SQL script, which you can
subsequently run on a different system, in order to recreate the process there.
#acs-workflow.lt_This_will_export_the_#
<p>
<h3>Select Method</h3>
<h3>#acs-workflow.Select_Method#</h3>
<ul>
<li><a href="@download_url@"><strong>Download</strong> the SQL script</a></li>
<li><a href="@download_url@"><strong>#acs-workflow.Download#</strong> #acs-workflow.the_SQL_script#</a></li>
<p>
<li><a href="@view_url@"><strong>View</strong> the SQL script in your browser</a></li>
<li><a href="@view_url@"><strong>#acs-workflow.View#</strong> #acs-workflow.lt_the_SQL_script_in_you#</a></li>
<p>
<li><a href="@textarea_url@">Show the SQL script in a &lt;textarea&gt; field, so you can <strong>copy and paste</strong> it</a></li>
<li><a href="@textarea_url@">#acs-workflow.lt_Show_the_SQL_script_i# <strong>#acs-workflow.copy_and_paste#</strong> #acs-workflow.it#</a></li>
<p>
<li><a href="@save_url@"><strong>Save</strong> it to a file <strong>on the server</strong></a></li>
<li><a href="@save_url@"><strong>#acs-workflow.Save#</strong> #acs-workflow.it_to_a_file# <strong>#acs-workflow.on_the_server#</strong></a></li>
</ul>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Business Process Administration</property>
<property name="title">#acs-workflow.lt_Business_Process_Admi#</property>
<property name="context">@context;noquote@</property>
<h3>Business Processes on This System</h3>
<h3>#acs-workflow.lt_Business_Processes_on#</h3>
<if @workflows:rowcount@ eq 0>
<em>no business processes installed</em>
<em>#acs-workflow.lt_no_business_processes#</em>
</if>
<else>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr valign=middle class=rowtitle>
<th width=150 class=rowtitle>Name</th>
<th width=130 class=rowtitle>Cases</th>
<th class=rowtitle>Description</th>
<th width=150 class=rowtitle>#acs-workflow.Name#</th>
<th width=130 class=rowtitle>#acs-workflow.Cases#</th>
<th class=rowtitle>#acs-workflow.Description#</th>
</tr>
<multiple name="workflows">
......@@ -25,12 +25,12 @@
</else>
<td><a href="workflow?workflow_key=@workflows.workflow_key@">@workflows.pretty_name@</a><br>(@workflows.workflow_key@)</td>
<td align="center">
<if @workflows.num_cases@ eq 0>No active cases</if>
<if @workflows.num_cases@ eq 1><a href="workflow-summary?workflow_key=@workflows.workflow_key@">1 active case</a></if>
<if @workflows.num_cases@ gt 1><a href="workflow-summary?workflow_key=@workflows.workflow_key@">@workflows.num_cases@ active cases</a></if>
<if @workflows.num_cases@ eq 0>#acs-workflow.No_active_cases#</if>
<if @workflows.num_cases@ eq 1><a href="workflow-summary?workflow_key=@workflows.workflow_key@">#acs-workflow.1_active_case#</a></if>
<if @workflows.num_cases@ gt 1><a href="workflow-summary?workflow_key=@workflows.workflow_key@">#acs-workflow.lt_workflowsnum_cases_ac#</a></if>
<if @workflows.num_unassigned_tasks@ gt 0>
<br />(<strong><a href="unassigned-tasks?workflow_key=@workflows.workflow_key@">@workflows.num_unassigned_tasks@ unassigned task<if @workflows.num_unassigned_tasks@ gt 1>s</if></a></strong>)
<br />(<strong><a href="unassigned-tasks?workflow_key=@workflows.workflow_key@">#acs-workflow.lt_workflowsnum_unassign#<if @workflows.num_unassigned_tasks@ gt 1>s</if></a></strong>)
</if>
</td>
<td>@workflows.description@</td>
......@@ -50,3 +50,4 @@
</master>
......@@ -46,7 +46,7 @@ db_multirow -extend {row_even_p} workflows all_workflows {
}
template::multirow create actions url title
template::multirow append actions "wizard/" "New Simple Process"
template::multirow append actions "workflow-add" "New Advanced Process"
template::multirow append actions "wizard/" "[_ acs-workflow.New]"
template::multirow append actions "workflow-add" "[_ acs-workflow.New_1]"
ad_return_template
<master>
<property name="title">Initialize Case</property>
<property name="title">#acs-workflow.Initialize_Case#</property>
<property name="context">@context;noquote@</property>
<blockquote><em>
Note! This page is not supposed to be part of the final UI.
#acs-workflow.lt_Note_This_page_is_not#
<p>
In real life, what will happen is that every time a new ticket (in the ticket-tracker),
a new application (for a job applicant management application) is created, we automatically initialize
a business process case for that object.
#acs-workflow.lt_In_real_life_what_wil#
<p>
Until we make that happen, this is the way to start a new case. Just
select a random object ... we just use it to tell the user what he's
working on.
#acs-workflow.lt_Until_we_make_that_ha#
</em></blockquote>
......@@ -25,7 +21,7 @@ working on.
<table border=0>
<!--
<tr><th>Context</th><td>
<tr><th>#acs-workflow.Context#</th><td>
<select name="context_key">
<multiple name="contexts">
<option value="@contexts.context_key@" @contexts.selected@>@contexts.context_name@</option>
......@@ -34,7 +30,7 @@ working on.
</td></tr>
-->
<tr><th>Object</th><td>
<tr><th>#acs-workflow.Object#</th><td>
<select name="object_id">
<multiple name="objects">
<option value="@objects.object_id@">@objects.name@</option>
......@@ -48,4 +44,4 @@ working on.
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Edit Process Name</property>
<property name="title">#acs-workflow.Edit_Process_Name#</property>
<property name="context">@context;noquote@</property>
<property name="focus">workflow.workflow_name</property>
......@@ -9,12 +9,12 @@
<table>
<tr>
<th align="right">Process Name</th>
<th align="right">#acs-workflow.Process_Name#</th>
<td><input type="text" size="80" name="workflow_name" value="@workflow_name@" /></td>
</tr>
<tr>
<th align="right">Description</th>
<th align="right">#acs-workflow.Description#</th>
<td><textarea name="description" cols="60" rows="8">@description@</textarea>
</td>
</tr>
......@@ -29,4 +29,4 @@
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Add Place</property>
<property name="title">#acs-workflow.Add_Place#</property>
<property name="context">@context;noquote@</property>
<property name="focus">place.place_name</property>
......@@ -9,18 +9,18 @@
<table>
<tr>
<th align="right">Place name</th>
<th align="right">#acs-workflow.Place_name#</th>
<td><input type="text" size="80" name="place_name" /></td>
</tr>
<tr>
<th align="right">Sort order</th>
<th align="right">#acs-workflow.Sort_order#</th>
<td><input type="text" size="5" name="sort_order" /></td>
</tr>
<if @special_widget@ not nil>
<tr>
<th align="right">Special place</th>
<th align="right">#acs-workflow.Special_place#</th>
<td>@special_widget@</td>
</tr>
</if>
......@@ -36,3 +36,4 @@
</form>
</master>
<master>
<property name="title">Place @place_name;noquote@</property>
<property name="title">#acs-workflow.lt_Place_place_namenoquo#</property>
<property name="context">@context;noquote@</property>
<property name="focus">place.place_name</property>
......@@ -9,12 +9,12 @@
<table>
<tr>
<th align="right">Place name</th>
<th align="right">#acs-workflow.Place_name#</th>
<td><input type="text" name="place_name" size="80" value="@place_name@" /></td>
</tr>
<tr>
<th align="right">Sort order</th>
<th align="right">#acs-workflow.Sort_order#</th>
<td><input type="text" name="sort_order" size="5" value="@sort_order@" /></td>
</tr>
......@@ -27,3 +27,4 @@
</table>
</master>
<master>
<property name="title">Add Role</property>
<property name="title">#acs-workflow.Add_Role#</property>
<property name="context">@context;noquote@</property>
<property name="focus">role.role_name</property>
......@@ -9,7 +9,7 @@
<table>
<tr>
<th align="right">Role name</th>
<th align="right">#acs-workflow.Role_name#</th>
<td><input type="text" size="40" name="role_name" /></td>
</tr>
......@@ -24,3 +24,4 @@
</form>
</master>
<master>
<property name="title">Edit @role_name;noquote@ role</property>
<property name="title">#acs-workflow.lt_Edit_role_namenoquote#</property>
<property name="context">@context;noquote@</property>
<property name="focus">role.role_name</property>
......@@ -8,7 +8,7 @@
<table>
<tr>
<th align="right">
Role name
#acs-workflow.Role_name#
</th>
<td>
<input name="role_name" type="text" value="@role_name@" size="50" />
......@@ -25,4 +25,4 @@
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Manually Assign @role_name;noquote@</property>
<property name="title">#acs-workflow.lt_Manually_Assign_role_#</property>
<property name="context">@context;noquote@</property>
<property name="focus">manual_form.transition_key</property>
......@@ -9,7 +9,7 @@
<table>
<tr>
<th>
Select the task that you want to assign the @role_name@ role:
#acs-workflow.lt_Select_the_task_that_#
</th>
</tr>
<tr>
......@@ -33,3 +33,4 @@
</form>
</master>
<if @roles:rowcount@ eq 0>
<blockquote>
<em>No roles defined</em>
<em>#acs-workflow.No_roles_defined#</em>
</blockquote>
</if>
<else>
......@@ -9,12 +9,12 @@
<td bgcolor="#cccccc">
<table cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>No.</th>
<th>Role</th>
<th>Action</th>
<th>Static Assignment</th>
<th>Manual Assignment</th>
<th>Programmatic Assignment</th>
<th>#acs-workflow.No#</th>
<th>#acs-workflow.Role#</th>
<th>#acs-workflow.Action#</th>
<th>#acs-workflow.Static_Assignment#</th>
<th>#acs-workflow.Manual_Assignment#</th>
<th>#acs-workflow.lt_Programmatic_Assignme#</th>
</tr>
<multiple name="roles">
......@@ -23,13 +23,13 @@
<td>@roles.role_name@</td>
<td>
<if @roles.delete_url@ not nil>
<small>(<a href="@roles.delete_url@">delete</a>)</small>
<small>(<a href="@roles.delete_url@">#acs-workflow.delete#</a>)</small>
</if>
<else>&nbsp;</else>
</td>
<td align="center">
<if @roles.is_static_p@ eq 1>
<b>Static</b>
<b>#acs-workflow.Static#</b>
</if>
<else>
&nbsp;
......@@ -37,22 +37,22 @@
</td>
<td align="left">
<if @roles.assigning_transition_key@ nil>
<center><small>(<a href="@roles.manual_url@">change to manual</a>)</small></center>
<center><small>(<a href="@roles.manual_url@">#acs-workflow.change_to_manual#</a>)</small></center>
</if>
<else>
<center>
<b>Manual</b>
<br><small>Assigned by these transitions:</small>
<b>#acs-workflow.Manual#</b>
<br><small>#acs-workflow.lt_Assigned_by_these_tra#</small>
</center>
<group column="role_key">
<li>@roles.assigning_transition_name@</li>
</group>
<br />(<a href="@roles.manual_url@">assign by another transition</a>)
<br />(<a href="@roles.manual_url@">#acs-workflow.lt_assign_by_another_tra#</a>)
</else>
</td>
<td align="center">
<if @roles.assignment_callback@ nil>
<small>(<a href="@roles.programmatic_url@">change to programmatic</a>)</small>
<small>(<a href="@roles.programmatic_url@">#acs-workflow.lt_change_to_programmati#</a>)</small>
</if>
<else>
@roles.assignment_callback@
......@@ -65,6 +65,7 @@
</tr>
</table>
</else>
(<a href="@role_add_url@">add role</a>)
(<a href="@role_add_url@">#acs-workflow.add_role#</a>)
<if @roles:rowcount@ eq 0>
<blockquote>
<em>No roles defined</em>
<em>#acs-workflow.No_roles_defined#</em>
</blockquote>
</if>
<else>
......@@ -11,10 +11,10 @@
<tr valign="middle" bgcolor="#ffffe4">
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>No.</th>
<th>Role</th>
<th>Action</th>
<th>Transitions</th>
<th>#acs-workflow.No#</th>
<th>#acs-workflow.Role#</th>
<th>#acs-workflow.Action#</th>
<th>#acs-workflow.Transitions#</th>
</tr>
<multiple name="roles">
......@@ -35,7 +35,7 @@
<td><a href="@roles.edit_url@">@roles.role_name@</a></td>
<td>
<if @roles.delete_url@ not nil>
<small>(<a href="@roles.delete_url@">delete</a>)</small>
<small>(<a href="@roles.delete_url@">#acs-workflow.delete#</a>)</small>
</if>
<else>&nbsp;</else>
</td>
......@@ -46,7 +46,7 @@
</group>
</if>
<else>
<em>No transitions belong to this role</em>
<em>#acs-workflow.lt_No_transitions_belong#</em>
</else>
</td>
</tr>
......@@ -56,4 +56,5 @@
</tr>
</table>
</else>
(<a href="@role_add_url@">add role</a>)
(<a href="@role_add_url@">#acs-workflow.add_role#</a>)
<if @roles:rowcount@ eq 0>
<blockquote>
<em>No roles defined</em>
<em>#acs-workflow.No_roles_defined#</em>
</blockquote>
</if>
<else>
......@@ -9,9 +9,9 @@
<td bgcolor="#cccccc">
<table cellspacing="1" cellpadding="4" border="0">
<tr valign=middle bgcolor="#ffffe4">
<th>Role</th>
<th>Assignments</th>
<th>Action</th>
<th>#acs-workflow.Role#</th>
<th>#acs-workflow.Assignments#</th>
<th>#acs-workflow.Action#</th>
</tr>
<multiple name="roles">
......@@ -25,11 +25,11 @@
<if @roles.party_email@ not nil>
(<a href="mailto:@roles.party_email@">@roles.party_email@</a>)
</if>
(<a href="@roles.remove_url@">remove</a>)
(<a href="@roles.remove_url@">#acs-workflow.remove#</a>)
</li>
</if>
<else>
<em>Unassigned</em>
<em>#acs-workflow.Unassigned#</em>
</else>
</group>
</td>
......@@ -55,3 +55,4 @@
<master>
<property name="title">@workflow_name;noquote@ Static Assignments</property>
<property name="title">#acs-workflow.lt_workflow_namenoquote__1#</property>
<property name="context">@context;noquote@</property>
<!--
......@@ -10,7 +10,7 @@ Context: [
<else><a href="@context_slider.url@">@context_slider.title@</a></else>
</multiple>
]
(<a href="@context_add_url@">create new context</a>)
(<a href="@context_add_url@">#acs-workflow.create_new_context#</a>)
-->
<table>
......@@ -22,7 +22,7 @@ Context: [
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr bgcolor="#ffffe4">
<td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><th align="left" valign="middle">Task: @tasks.transition_name@</th></tr></table></td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><th align="left" valign="middle">#acs-workflow.lt_Task_taskstransition_#</th></tr></table></td>
</tr>
<group column="transition_key">
......@@ -32,10 +32,10 @@ Context: [
<a href="/shared/community-member?user_id=@tasks.party_id@">@tasks.party_name@</a>
<if @tasks.party_email@ not nil>(<a href="mailto:@tasks.party_email@">@tasks.party_email@</a>)</if>
<if @tasks.party_email@ nil>&nbsp;</if>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>(<a href="static-assignment-delete?workflow_key=@workflow_key@&context_key=@context_key@&transition_key=@tasks.transition_key@&party_id=@tasks.party_id@">remove</a>)</small>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>(<a href="static-assignment-delete?workflow_key=@workflow_key@&context_key=@context_key@&transition_key=@tasks.transition_key@&party_id=@tasks.party_id@">#acs-workflow.remove#</a>)</small>
</if>
<if @tasks.party_id@ nil>
<em>no static assignments</em>
<em>#acs-workflow.lt_no_static_assignments#</em>
</if>
</td>
</tr>
......@@ -48,10 +48,10 @@ Context: [
<input type="hidden" name="workflow_key" value="@workflow_key@" />
<input type="hidden" name="context_key" value="@context_key@" />
<input type="hidden" name="transition_key" value="@tasks.transition_key@" />
Add assignee: @tasks.user_select_widget@ <input type="submit" value="Add" />
#acs-workflow.lt_Add_assignee_tasksuse# <input type="submit" value="Add" />
</if>
<if @tasks.user_select_widget@ nil>
<em>All parties are already assigned to this task</em>
<em>#acs-workflow.lt_All_parties_are_alrea#</em>
</if>
</td>
</tr>
......@@ -78,3 +78,4 @@ Context: [
</master>
<master>
<property name="title">@workflow_name@ - @transition_name@ - Task Actions</property>
<property name="title">#acs-workflow.lt_workflow_name_-_trans#</property>
<property name="context">@context;noquote@</property>
<property name="focus">actions.enable_callback</property>
......@@ -11,58 +11,58 @@
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr bgcolor="#ccccff">
<th>Action Type</th>
<th>#acs-workflow.Action_Type#</th>
<th></th>
<th>Value</th>
<th>#acs-workflow.Value#</th>
</tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="2">Enable</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="2">#acs-workflow.Enable# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Enable_action_help#" alt="#acs-workflow.lt_Enable_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="enable_callback" size="80" value="@enable_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="enable_custom_arg" size="80" value="@enable_custom_arg@" /></td>
</tr>
<tr><td height="4" colspan="3"></td></tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="2">Fire</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="2">#acs-workflow.Fire# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Fire_action_help#" alt="#acs-workflow.lt_Fire_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="fire_callback" size="80" value="@fire_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="fire_custom_arg" size="80" value="@fire_custom_arg@" /></td>
</tr>
<tr><td height="4" colspan="3"></td></tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="2">Time</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="2">#acs-workflow.Time# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Time_action_help#" alt="#acs-workflow.lt_Time_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="time_callback" size="80" value="@time_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="time_custom_arg" size="80" value="@time_custom_arg@" /></td>
</tr>
<tr><td height="4" colspan="3"></td></tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="3">Deadline</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="3">#acs-workflow.Deadline# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Deadline_action_help#" alt="#acs-workflow.lt_Deadline_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="deadline_callback" size="80" value="@deadline_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="deadline_custom_arg" size="80" value="@deadline_custom_arg@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>or use Attribute name</td>
<td>#acs-workflow.lt_or_use_Attribute_name#</td>
<td>
<input type="text" name="deadline_attribute_name" size="80" value="@deadline_attribute_name@" />
</td>
......@@ -72,36 +72,36 @@
<tr><td height="4" colspan="3"></td></tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="2">Hold Timeout</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="2">#acs-workflow.Hold_Timeout# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Hold_Timeout_action_help#" alt="#acs-workflow.lt_Hold_Timeout_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="hold_timeout_callback" size="80" value="@hold_timeout_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="hold_timeout_custom_arg" size="80" value="@hold_timeout_custom_arg@" /></td>
</tr>
<tr><td height="4" colspan="3"></td></tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="2">Notification</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="2">#acs-workflow.Notification# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Notification_action_help#" alt="#acs-workflow.lt_Notification_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="notification_callback" size="80" value="@notification_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="notification_custom_arg" size="80" value="@notification_custom_arg@" /></td>
</tr>
<tr><td height="4" colspan="3"></td></tr>
<tr bgcolor="#dddddd">
<th bgcolor="#ffffe4" rowspan="2">Unassigned task</th>
<td>PL/SQL proc</td>
<th bgcolor="#ffffe4" rowspan="2">#acs-workflow.Unassigned_task# <img src=/intranet/images/help.gif width=16 height=16 border=0 title="#acs-workflow.lt_Unassigned_action_help#" alt="#acs-workflow.lt_Unassigned_action_help#"></th>
<td>#acs-workflow.PLSQL_proc#</td>
<td><input type="text" name="unassigned_callback" size="80" value="@unassigned_callback@" /></td>
</tr>
<tr bgcolor="#dddddd">
<td>Custom argument</td>
<td>#acs-workflow.Custom_argument#</td>
<td><input type="text" name="unassigned_custom_arg" size="80" value="@unassigned_custom_arg@" /></td>
</tr>
......@@ -121,3 +121,4 @@
<p>
</master>
<master>
<property name="title">Add Task</property>
<property name="title">#acs-workflow.Add_Task#</property>
<property name="context">@context;noquote@</property>
<property name="focus">task.transition_name</property>
......@@ -8,11 +8,11 @@
<table>
<tr>
<th align="right">Task name</th>
<th align="right">#acs-workflow.Task_name#</th>
<td><input type="text" size="80" name="transition_name" /></td>
</tr>
<tr>
<th align=right>Trigger type</th>
<th align=right>#acs-workflow.Trigger_type#</th>
<td>
<select name="trigger_type">
<multiple name="trigger_types">
......@@ -22,7 +22,7 @@
</td>
</tr>
<tr>
<th align="right">Role</th>
<th align="right">#acs-workflow.Role#</th>
<td>
<select name="role_key">
<multiple name="roles">
......@@ -32,11 +32,11 @@
</td>
</tr>
<tr>
<th align="right">Time estimate</th>
<td><input type="text" name="estimated_minutes" size="10" /> minutes</td>
<th align="right">#acs-workflow.Time_estimate#</th>
<td><input type="text" name="estimated_minutes" size="10" /> #acs-workflow.minutes#</td>
</tr>
<tr>
<th align="right">Instructions</th>
<th align="right">#acs-workflow.Instructions#</th>
<td><textarea name="instructions" rows="4" cols="45" wrap="soft"></textarea></td>
</tr>
<tr>
......@@ -52,3 +52,4 @@
</master>
<master>
<property name="title">Assignments to be done by @transition_name;noquote@</property>
<property name="title">#acs-workflow.lt_Assignments_to_be_don#</property>
<property name="context">@context;noquote@</property>
The user performing the task <strong>@transition_name@</strong> will be asked to <strong>assign the following roles</strong>:
#acs-workflow.lt_The_user_performing_t# <strong>@transition_name@</strong> #acs-workflow.will_be_asked_to# <strong>#acs-workflow.lt_assign_the_following_#</strong>:
<table>
<tr>
......@@ -13,13 +13,13 @@ The user performing the task <strong>@transition_name@</strong> will be asked to
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr bgcolor="#ffffe4">
<th>Role To Assign</th>
<th>Action</th>
<th>#acs-workflow.Role_To_Assign#</th>
<th>#acs-workflow.Action#</th>
</tr>
<if @assigned_by_this:rowcount@ eq 0>
<tr bgcolor="#eeeeee">
<td colspan="4">
<em>No roles to be assigned by this task.</em>
<em>#acs-workflow.lt_No_roles_to_be_assign#</em>
</td>
</tr>
</if>
......@@ -28,7 +28,7 @@ The user performing the task <strong>@transition_name@</strong> will be asked to
<tr bgcolor="#eeeeee">
<td>@assigned_by_this.role_name@</td>
<td align="center">
<small>(<a href="@assigned_by_this.delete_url@">remove</a>)</small>
<small>(<a href="@assigned_by_this.delete_url@">#acs-workflow.remove#</a>)</small>
</td>
</tr>
</multiple>
......@@ -48,8 +48,7 @@ The user performing the task <strong>@transition_name@</strong> will be asked to
<td colspan="2">
<if @to_be_assigned_by_this:rowcount@ gt 0>
<form action="@assign_url@">
@assign_export_vars;noquote@
Assign this:
#acs-workflow.lt_assign_export_varsnoq#
<select name="role_key">
<multiple name="to_be_assigned_by_this">
<option value="@to_be_assigned_by_this.role_key@">@to_be_assigned_by_this.role_name@</option>
......@@ -76,4 +75,4 @@ The user performing the task <strong>@transition_name@</strong> will be asked to
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Attributes to be set by @transition_name;noquote@</property>
<property name="title">#acs-workflow.lt_Attributes_to_be_set_#</property>
<property name="context">@context;noquote@</property>
<table>
......@@ -11,15 +11,15 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr bgcolor="#ffffe4">
<th>No.</th>
<th>Attribute name</th>
<th>Datatype</th>
<th>Action</th>
<th>#acs-workflow.No#</th>
<th>#acs-workflow.Attribute_name#</th>
<th>#acs-workflow.Datatype#</th>
<th>#acs-workflow.Action#</th>
</tr>
<if @attributes:rowcount@ eq 0>
<tr bgcolor="#eeeeee">
<td colspan="4">
<em>No attributes</em>
<em>#acs-workflow.No_attributes#</em>
</td>
</tr>
</if>
......@@ -31,13 +31,13 @@
<td>@attributes.datatype@</td>
<td>
<if @attributes.edit_url@ not nil>
(<a href="@attributes.edit_url@">edit</a>)
(<a href="@attributes.edit_url@">#acs-workflow.edit#</a>)
</if>
<if @attributes.delete_url@ not nil>
(<a href="@attributes.delete_url@">delete</a>)
(<a href="@attributes.delete_url@">#acs-workflow.delete#</a>)
</if>
<if @attributes.move_up_url@ not nil>
(<a href="@attributes.move_up_url@">move up</a>)
(<a href="@attributes.move_up_url@">#acs-workflow.move_up#</a>)
</if>
</td>
</tr>
......@@ -58,8 +58,7 @@
<td>&nbsp;</td>
<td colspan="2">
<form action="@add_url@" method="post">
@add_export_vars;noquote@
Set this:
#acs-workflow.lt_add_export_varsnoquot#
<select name="attribute_id">
<multiple name="attributes_not_set">
<option value="@attributes_not_set.attribute_id@">
......@@ -87,3 +86,4 @@
</table>
</master>
<master>
<property name="title">Task @transition_name;noquote@</property>
<property name="title">#acs-workflow.lt_Task_transition_namen#</property>
<property name="context">@context;noquote@</property>
<property name="focus">@focus;noquote@</property>
......@@ -8,13 +8,13 @@
<table>
<tr>
<th align="right">Task name</th>
<th align="right">#acs-workflow.Task_name#</th>
<td>
<input type="text" size="80" name="transition_name" value="@transition_name@" />
</td>
</tr>
<tr>
<th align="right">Trigger type</th>
<th align="right">#acs-workflow.Trigger_type#</th>
<td>
<select name="trigger_type">
<multiple name="trigger_types">
......@@ -24,10 +24,10 @@
</td>
</tr>
<tr>
<th align="right">Role</th>
<th align="right">#acs-workflow.Role#</th>
<td>
<if @new_role_p@ eq 1>
<font color="red"><em>Please type a name for the new role</em></font><br />
<font color="red"><em>#acs-workflow.lt_Please_type_a_name_fo#</em></font><br />
<input type="text" name="role_name" size="50" />
</if>
<else>
......@@ -40,11 +40,11 @@
</td>
</tr>
<tr>
<th align="right">Time estimate</th>
<td><input type="text" name="estimated_minutes" value="@estimated_minutes@" /> minutes</td>
<th align="right">#acs-workflow.Time_estimate#</th>
<td><input type="text" name="estimated_minutes" value="@estimated_minutes@" /> #acs-workflow.minutes#</td>
</tr>
<tr>
<th align="right">Instructions</th>
<th align="right">#acs-workflow.Instructions#</th>
<td><textarea name="instructions" rows="4" cols="45" wrap="soft">@instructions@</textarea></td>
</tr>
<tr>
......@@ -59,3 +59,4 @@
</form>
</master>
<master>
<property name="title">Add panel</property>
<property name="title">#acs-workflow.Add_panel#</property>
<property name="focus">panel.header</property>
<property name="context">@context;noquote@</property>
<h2>Add Panel</h2>
<h2>#acs-workflow.Add_Panel#</h2>
<form action="task-panel-add-2" name="panel" method="post">
......@@ -12,36 +12,36 @@
<table>
<tr>
<th align="right">Header</th>
<th align="right">#acs-workflow.Header#</th>
<td><input type="text" size="80" name="header" /></td>
</tr>
<tr>
<th align="right">Template URL</th>
<th align="right">#acs-workflow.Template_URL#</th>
<td>
<input type="text" size="80" name="template_url" />
<br>
(This will typically take the form <code>/packages/<em>package-name</em>/www/<em>template-name</em></code>)
#acs-workflow.lt_This_will_typically_t# <code>#acs-workflow.packages#<em>#acs-workflow.package-name#</em>#acs-workflow.www#<em>#acs-workflow.template-name#</em></code>)
</td>
</tr>
<tr>
<th align="right">Override default Action panel?</th>
<th align="right">#acs-workflow.lt_Override_default_Acti#</th>
<td>
<input type="radio" name="overrides_action_p" value="t" \>Yes
<input type="radio" name="overrides_action_p" value="f" checked="checked" \>No
<input type="radio" name="overrides_action_p" value="t" \>#acs-workflow.Yes#
<input type="radio" name="overrides_action_p" value="f" checked="checked" \>#acs-workflow.No_1#
</td>
</tr>
<tr>
<th align="right">Override both panels?</th>
<th align="right">#acs-workflow.Override_both_panels#</th>
<td>
<input type="radio" name="overrides_both_panels_p" value="t" \>Yes
<input type="radio" name="overrides_both_panels_p" value="f" checked="checked" \>No
<input type="radio" name="overrides_both_panels_p" value="t" \>#acs-workflow.Yes#
<input type="radio" name="overrides_both_panels_p" value="f" checked="checked" \>#acs-workflow.No_1#
</td>
</tr>
<tr>
<th align="right">Only display when task is stared?</th>
<th align="right">#acs-workflow.lt_Only_display_when_tas#</th>
<td>
<input type="radio" name="only_display_when_started_p" value="t" \>Yes
<input type="radio" name="only_display_when_started_p" value="f" checked="checked" \>No
<input type="radio" name="only_display_when_started_p" value="t" \>#acs-workflow.Yes#
<input type="radio" name="only_display_when_started_p" value="f" checked="checked" \>#acs-workflow.No_1#
</td>
</tr>
<tr>
......@@ -55,4 +55,4 @@
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Edit panel</property>
<property name="title">#acs-workflow.Edit_panel#</property>
<property name="context">@context;noquote@</property>
<property name="focus">panel.header</property>
......@@ -8,35 +8,35 @@
<table>
<tr>
<th align="right">Header</th>
<th align="right">#acs-workflow.Header#</th>
<td><input type="text" size="80" name="header" value="@panel.header@" /></td>
</tr>
<tr>
<th align="right">Template URL</th>
<th align="right">#acs-workflow.Template_URL#</th>
<td>
<input type="text" size="80" name="template_url" value="@panel.template_url@" /><br />
(This will typically take the form <code>/packages/<em>package-name</em>/www/<em>template-name</em></code>)
#acs-workflow.lt_This_will_typically_t# <code>/packages/<em>package-name</em>/www/<em>template-name</em></code>)
</td>
</tr>
<tr>
<th align="right">Override default Action panel?</th>
<th align="right">#acs-workflow.lt_Override_default_Acti#</th>
<td>
<input type="radio" name="overrides_action_p" value="t" <%=[ad_decode $panel(overrides_action_p) "t" "checked=\"checked\"" ""]%> />Yes
<input type="radio" name="overrides_action_p" value="f" <%=[ad_decode $panel(overrides_action_p) "f" "checked=\"checked\"" ""]%> />No
<input type="radio" name="overrides_action_p" value="t" <%=[ad_decode $panel(overrides_action_p) "t" "checked=\"checked\"" ""]%> #acs-workflow.Yes_1#
<input type="radio" name="overrides_action_p" value="f" <%=[ad_decode $panel(overrides_action_p) "f" "checked=\"checked\"" ""]%> #acs-workflow.No_2#
</td>
</tr>
<tr>
<th align="right">Override both panels?</th>
<th align="right">#acs-workflow.Override_both_panels#</th>
<td>
<input type="radio" name="overrides_both_panels_p" value="t" <%=[ad_decode $panel(overrides_both_panels_p) "t" "checked=\"checked\"" ""]%> />Yes
<input type="radio" name="overrides_both_panels_p" value="f" <%=[ad_decode $panel(overrides_both_panels_p) "f" "checked=\"checked\"" ""]%> />No
<input type="radio" name="overrides_both_panels_p" value="t" <%=[ad_decode $panel(overrides_both_panels_p) "t" "checked=\"checked\"" ""]%> #acs-workflow.Yes_1#
<input type="radio" name="overrides_both_panels_p" value="f" <%=[ad_decode $panel(overrides_both_panels_p) "f" "checked=\"checked\"" ""]%> #acs-workflow.No_2#
</td>
</tr>
<tr>
<th align="right">Only display when task is stared?</th>
<th align="right">#acs-workflow.lt_Only_display_when_tas#</th>
<td>
<input type="radio" name="only_display_when_started_p" value="t" <%=[ad_decode $panel(only_display_when_started_p) "t" "checked=\"checked\"" ""]%> \>Yes
<input type="radio" name="only_display_when_started_p" value="f" <%=[ad_decode $panel(only_display_when_started_p) "f" "checked=\"checked\"" ""]%> \>No
<input type="radio" name="only_display_when_started_p" value="t" <%=[ad_decode $panel(only_display_when_started_p) "t" "checked=\"checked\"" ""]%> #acs-workflow.Yes_2#
<input type="radio" name="only_display_when_started_p" value="f" <%=[ad_decode $panel(only_display_when_started_p) "f" "checked=\"checked\"" ""]%> #acs-workflow.No_3#
</td>
</tr>
<tr>
......@@ -50,4 +50,4 @@
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Panels for @transition_name;noquote@</property>
<property name="title">#acs-workflow.lt_Panels_for_transition#</property>
<property name="context">@context;noquote@</property>
<!--
......@@ -10,7 +10,7 @@ Context: [
<else><a href="@context_slider.url@">@context_slider.title@</a></else>
</multiple>
]
(<a href="@context_add_url@">create new context</a>)
(<a href="@context_add_url@">#acs-workflow.create_new_context#</a>)
-->
<p>
......@@ -24,15 +24,15 @@ Context: [
<td bgcolor="#cccccc">
<table width="100%" cellspacing=1 cellpadding=4 border="0">
<tr bgcolor="#ffffe4">
<th>No.</th>
<th>Header</th>
<th>URL</th>
<th>Action</th>
<th>#acs-workflow.No#</th>
<th>#acs-workflow.Header#</th>
<th>#acs-workflow.URL#</th>
<th>#acs-workflow.Action#</th>
</tr>
<if @panels:rowcount@ eq 0>
<tr bgcolor="#eeeeee">
<td colspan="4">
<em>No panels</em>
<em>#acs-workflow.No_panels#</em>
</td>
</tr>
</if>
......@@ -44,13 +44,13 @@ Context: [
<td><code>@panels.template_url@</code></td>
<td>
<if @panels.edit_url@ not nil>
(<a href="@panels.edit_url@">edit</a>)
(<a href="@panels.edit_url@">#acs-workflow.edit#</a>)
</if>
<if @panels.delete_url@ not nil>
(<a href="@panels.delete_url@">delete</a>)
(<a href="@panels.delete_url@">#acs-workflow.delete#</a>)
</if>
<if @panels.move_up_url@ not nil>
(<a href="@panels.move_up_url@">move up</a>)
(<a href="@panels.move_up_url@">#acs-workflow.move_up#</a>)
</if>
</td>
</tr>
......@@ -68,7 +68,7 @@ Context: [
<tr>
<td>&nbsp;</td>
<td colspan="2">(<a href="@panel_add_url@">add panel</a>)</td>
<td colspan="2">(<a href="@panel_add_url@">#acs-workflow.add_panel#</a>)</td>
</tr>
<tr><td colspan=3>&nbsp;</td></tr>
......@@ -85,3 +85,4 @@ Context: [
</table>
</master>
<if @panels:rowcount@ eq 0>
<blockquote>
<em>No transitions defined</em>
<em>#acs-workflow.lt_No_transitions_define#</em>
</blockquote>
</if>
<else>
......@@ -9,15 +9,15 @@
<td bgcolor="#cccccc">
<table cellspacing="1" cellpadding="4" border="0">
<tr valign=middle bgcolor="#ffffe4">
<th>Transition</th>
<th>Add</th>
<th>No.</th>
<th>Header</th>
<th>#acs-workflow.Transition#</th>
<th>#acs-workflow.Add#</th>
<th>#acs-workflow.No_#</th>
<th>#acs-workflow.Header#</th>
<!--
<th>Template URL</th>
<th>Options</th>
<th>#acs-workflow.Template_URL#</th>
<th>#acs-workflow.Options#</th>
-->
<th>Action</th>
<th>#acs-workflow.Action#</th>
</tr>
<multiple name="panels">
......@@ -30,7 +30,7 @@
<a href="@panels.transition_edit_url@">@panels.transition_name@</a>
</td>
<td rowspan="@panels.rowspan@" valign="middle">
(<a href="@panels.panel_add_url@">add panel</a>)
(<a href="@panels.panel_add_url@">#acs-workflow.add_panel#</a>)
</td>
</if>
<td align="right">
......@@ -54,13 +54,13 @@
</td>
<td>
<if @panels.template_url@ not nil>
override=@panels.overrides_action_p@; whenstarted=@panels.only_display_when_started_p@
#acs-workflow.lt_overridepanelsoverrid#
</if>
<else>&nbsp;</else>
</td>
-->
<td>
(<a href="@panels.panel_delete_url@">delete</a>)
(<a href="@panels.panel_delete_url@">#acs-workflow.delete#</a>)
</td>
</tr>
</multiple>
......@@ -73,3 +73,4 @@
<if @transitions:rowcount@ eq 0>
<blockquote>
<em>No transitions defined</em>
<em>#acs-workflow.lt_No_transitions_define#</em>
</blockquote>
</if>
<else>
......@@ -9,11 +9,11 @@
<td bgcolor="#cccccc">
<table cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>No.</th>
<th>Transition</th>
<th>Trigger</th>
<th>Action</th>
<th>By Role</th>
<th>#acs-workflow.No_#</th>
<th>#acs-workflow.Transition#</th>
<th>#acs-workflow.Trigger#</th>
<th>#acs-workflow.Action#</th>
<th>#acs-workflow.By_Role#</th>
</tr>
<multiple name="transitions">
......@@ -23,7 +23,7 @@
<td align="center">@transitions.trigger_type_pretty@</td>
<td>
<if @transitions.delete_url@ not nil>
(<a href="@transitions.delete_url@">delete</a>)
(<a href="@transitions.delete_url@">#acs-workflow.delete#</a>)
</if>
<else>&nbsp;</else>
</td>
......@@ -33,7 +33,7 @@
</if>
<else>
<if @transitions.trigger_type@ eq "user">
<em>Not associated with any role</em> (<a href="@transitions.edit_url@">edit</a>)
<em>#acs-workflow.lt_Not_associated_with_a#</em> (<a href="@transitions.edit_url@">#acs-workflow.edit#</a>)
</if>
<else>
&nbsp;
......@@ -47,4 +47,5 @@
</tr>
</table>
</else>
(<a href="@transition_add_url@">add transition</a>)
(<a href="@transition_add_url@">#acs-workflow.add_transition#</a>)
<master>
<property name="title">Unassigned Tasks</property>
<property name="title">#acs-workflow.Unassigned_Tasks#</property>
<property name="context">@context;noquote@</property>
<if @tasks:rowcount@ eq 0>
<em>No unassigned tasks</em>
<em>#acs-workflow.No_unassigned_tasks#</em>
</if>
<else>
<table cellspacing="0" cellpadding="0" border="0">
......@@ -12,10 +12,10 @@
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>Task</th>
<th>Case</th>
<th>Enabled</th>
<th>Deadline</th>
<th>#acs-workflow.Task#</th>
<th>#acs-workflow.Case#</th>
<th>#acs-workflow.Enabled#</th>
<th>#acs-workflow.Deadline#</th>
</tr>
<multiple name="tasks">
......@@ -39,4 +39,4 @@
</table>
</else>
</master>
\ No newline at end of file
</master>
<master>
<property name="title">Simple Process Wizard Step 5: Create @workflow_name;noquote@</property>
<property name="title">#acs-workflow.lt_Simple_Process_Wizard#</property>
<property name="context">@context;noquote@</property>
<include src="progress-bar" num_completed="4" no_links="1">
<p>
You new business process has been created.
#acs-workflow.lt_You_new_business_proc#
<p>
You can now
#acs-workflow.You_can_now#
<ul>
<li><a href="../workflow?tab=assignments&workflow_key=@workflow_key@">set static assignments</a>.
<li><a href="../workflow?tab=assignments&workflow_key=@workflow_key@">#acs-workflow.lt_set_static_assignment#</a>.
<p>
<li><a href="../workflow?workflow_key=@workflow_key@">view or alter the definition</a>.
<li><a href="../workflow?workflow_key=@workflow_key@">#acs-workflow.lt_view_or_alter_the_def#</a>.
<p>
<li><a href="../">go to the business process administration page</a>.
<li><a href="../">#acs-workflow.lt_go_to_the_business_pr#</a>.
</ul>
</master>
<master>
<property name="focus">workflow.workflow_name</property>
<property name="focus">#acs-workflow.lt_workflowworkflow_name#</property>
<property name="context">@context;noquote@</property>
<property name="title">Simple Process Wizard</property>
<property name="title">#acs-workflow.lt_Simple_Process_Wizard_1#</property>
<include src="progress-bar" num_completed="0">
<p>
This wizard will help you quickly define a simple business
process. You can add a number of <b>tasks</b> to be executed in sequence, and
you can add <b>loops</b> that go back to a previous task. Finally, you can
set up the <b>assignment</b> rules.
#acs-workflow.lt_This_wizard_will_help# <b>#acs-workflow.tasks#</b> #acs-workflow.lt_to_be_executed_in_seq# <b>#acs-workflow.loops#</b> #acs-workflow.lt_that_go_back_to_a_pre# <b>#acs-workflow.assignment#</b> #acs-workflow.rules#
<p>
If you want to create more advanced processes, you can either start
here and add flexibility later using the <b>Advanced Process Builder</b>, or
you can start with the Advanced Process Builder right away.
#acs-workflow.lt_If_you_want_to_create# <b>#acs-workflow.lt_Advanced_Process_Buil#</b>#acs-workflow.lt__oryou_can_start_with#
<p>
The first step is to give a <b>name</b> and an <b>optional description</b> to your
business process.
#acs-workflow.lt_The_first_step_is_to_# <b>#acs-workflow.name#</b> #acs-workflow.and_an# <b>#acs-workflow.optional_description#</b> #acs-workflow.lt_to_yourbusiness_proce#
<p>
......@@ -29,12 +23,12 @@ business process.
<table border=0>
<tr>
<th align=right>Process Name:</th>
<th align=right>#acs-workflow.Process_Name_1#</th>
<td><input maxlength=100 size=40 type=text name="workflow_name"
value="@workflow_name@"></td>
</tr>
<tr>
<th valign=top align=right>Description:</th>
<th valign=top align=right>#acs-workflow.Description_1#</th>
<td><textarea cols=60 rows=8 name=description>@description@</textarea></td>
</tr>
</table>
......@@ -45,4 +39,4 @@ business process.
</form>
</master>
\ No newline at end of file
</master>
<master>
<property name="focus">loop.to_transition_key</property>
<property name="focus">#acs-workflow.lt_loopto_transition_key#</property>
<property name="context">@context;noquote@</property>
<property name="title">Add Loop from @task_name;noquote@</property>
<property name="title">#acs-workflow.lt_Add_Loop_from_task_na#</property>
<form action="loop-add-2" name="loop">
@export_vars;noquote@
......@@ -12,12 +12,12 @@
<table width="100%" cellspacing=1 cellpadding=4 border=0>
<tr>
<th align=right bgcolor=#ffffe4>Loop from task</th>
<th align=right bgcolor=#ffffe4>#acs-workflow.Loop_from_task#</th>
<td bgcolor=#eeeeee>@task_name@</td>
</tr>
<tr>
<th align=right bgcolor=#ffffe4>Loop to task</th>
<th align=right bgcolor=#ffffe4>#acs-workflow.Loop_to_task#</th>
<td bgcolor=#eeeeee>
......@@ -27,12 +27,12 @@
<option value="@to_transitions.transition_key@">@to_transitions.rownum@. @to_transitions.task_name@</option>
</multiple>
</select>
<br><em>(Note. You can only loop backwards in the process)</em>
<br><em>#acs-workflow.lt_Note_You_can_only_loo#</em>
</if>
<else>
<multiple name="to_transitions">
@to_transitions.task_name@
<br><em>(this is the only task you can possibly loop to from here)</em>
<br><em>#acs-workflow.lt_this_is_the_only_task#</em>
<input type="hidden" name="to_transition_key" value="@to_transitions.transition_key@">
</multiple>
</else>
......@@ -40,18 +40,18 @@
</td></tr>
<tr><th align=right bgcolor=#ffffe4>
Question to ask
#acs-workflow.Question_to_ask#
</th>
<td bgcolor=#eeeeee>
<input type=text name=question size=50><br>
<em>(make it a yes/no-question, e.g. "Approved")</em>
<em>#acs-workflow.lt_make_it_a_yesno-quest#</em>
</td>
</tr>
<tr>
<th align=right bgcolor=#ffffe4>Loop back if answer is</th>
<td bgcolor=#eeeeee><select name=answer><option value="f">No</option><option value="t">Yes</option></select><br>
<em>(If the user answers what you specify here, we'll loop back. If he choses the other answer, we'll continue with the next task.)</em>
<th align=right bgcolor=#ffffe4>#acs-workflow.lt_Loop_back_if_answer_i#</th>
<td bgcolor=#eeeeee><select name=answer><option value="f">#acs-workflow.No_1#</option><option value="t">#acs-workflow.Yes#</option></select><br>
<em>#acs-workflow.lt_If_the_user_answers_w#</em>
</td>
</table>
......@@ -65,3 +65,4 @@ Question to ask
</master>
<master>
<property name="title">Simple Process Wizard Step 3: Loops for @workflow_name;noquote@</property>
<property name="title">#acs-workflow.lt_Simple_Process_Wizard_2#</property>
<property name="context">@context;noquote@</property>
<include src="progress-bar" num_completed="2">
......@@ -7,42 +7,29 @@
<p>
<if @tasks:rowcount@ eq 0>
You haven't defined any tasks yet.
Please <a href="tasks">go back and define some tasks</a> now.
#acs-workflow.lt_You_havent_defined_an# <a href="tasks">#acs-workflow.lt_go_back_and_define_so#</a> #acs-workflow.now#
</if>
<if @tasks:rowcount eq 1>
You only have <b>one task defined</b>. That's barely
enough to call a <em>process</em>, so you probably want to <a
href="tasks">go back and define more tasks</a>.
#acs-workflow.You_only_have# <b>#acs-workflow.one_task_defined#</b>#acs-workflow.lt__Thats_barely____enou# <em>#acs-workflow.process#</em>#acs-workflow.lt__so_you_probably_want# <a
href="tasks">#acs-workflow.lt_go_back_and_define_mo#</a>.
<p>
If you insist that you only want one task, that's fine. You can
even <b>add a loop from '@loop_from_task_name@' back to itself</b>. The
way it works is that we'll ask the user some question, to which he
answers yes or no. If he answers yes, we'll go back to the same task again,
if he answers no, we'll continue to finish the process&#151;or
vice versa. You get to decide that.
#acs-workflow.lt_If_you_insist_that_yo# <b>#acs-workflow.lt_add_a_loop_from_loop_#</b>#acs-workflow.lt__The____way_it_works_#
</if>
<if @tasks:rowcount@ ge 2>
A loop always goes back to some <b>prior task</b> in the process, e.g. from
'@loop_from_task_name@' to '@loop_to_task_name@'. Whether we loop back
to '@loop_to_task_name@' or go forward to @loop_next_pretty@ is up to
the person performing '@loop_from_task_name@'.
#acs-workflow.lt_A_loop_always_goes_ba# <b>#acs-workflow.prior_task#</b> #acs-workflow.lt_in_the_process_eg_fro#
<p>
We will ask him a <b>yes/no question</b>, such as
'Approved?'. Depending on the answer, we'll go to either
'@loop_to_task_name@' or @loop_next_pretty@.
#acs-workflow.We_will_ask_him_a# <b>#acs-workflow.yesno_question#</b>#acs-workflow.lt__such_as____Approved_#
<p>
In the list below, hit add loop on <b>the task you want to loop
from</b>, i.e. the <b>last</b> task in the loop.
#acs-workflow.lt_In_the_list_below_hit# <b>#acs-workflow.lt_the_task_you_want_to_#</b>#acs-workflow._ie_the# <b>#acs-workflow.last#</b> #acs-workflow.task_in_the_loop#
</if>
<blockquote>
......@@ -51,10 +38,10 @@
<table width="100%" cellspacing=1 cellpadding=4 border=0>
<tr bgcolor=#ffffe4>
<th>Order</th>
<th>Task</th>
<th>Loop</th>
<th>Action</th>
<th>#acs-workflow.Order#</th>
<th>#acs-workflow.Task#</th>
<th>#acs-workflow.Loop#</th>
<th>#acs-workflow.Action#</th>
</tr>
<multiple name="tasks">
......@@ -64,8 +51,8 @@
<td align=left>
<if @tasks.loop_to_task_name@ not nil>
Go to @tasks.loop_to_task_name@ if
<if @tasks.loop_answer@ eq "f">not</if>
#acs-workflow.lt_Go_to_tasksloop_to_ta#
<if @tasks.loop_answer@ eq "f">#acs-workflow.not#</if>
@tasks.loop_question@
</if>
<else>&nbsp;</else>
......@@ -74,10 +61,10 @@
<td align=center>
<if @tasks.loop_to_task_name@ nil>
(<a href="loop-add?from_transition_key=@tasks.transition_key@">add loop</a>)
(<a href="loop-add?from_transition_key=@tasks.transition_key@">#acs-workflow.add_loop#</a>)
</if>
<else>
(<a href="loop-delete?from_transition_key=@tasks.transition_key@">remove loop</a>)
(<a href="loop-delete?from_transition_key=@tasks.transition_key@">#acs-workflow.remove_loop#</a>)
</else>
</td>
......@@ -94,8 +81,9 @@
<form action="assignments" method=post>
<center>
<input type=submit value="Next -&gt;">
<br>Hit Next when you're <b>done adding loops</b>.
<br>#acs-workflow.Hit_Next_when_youre# <b>#acs-workflow.done_adding_loops#</b>.
</center>
</form>
</master>
<master>
<property name="title">New Advanced Process</property>
<property name="title">#acs-workflow.New_Advanced_Process#</property>
<property name="context">@context;noquote@</property>
<property name="focus">workflow.workflow_name</property>
The first step in defining a new process is to give it a name and an
optional description. Examples of good names are "marketing
interview", "article publication" or "expenses approval".
#acs-workflow.lt_The_first_step_in_def#
<p>
......@@ -15,13 +13,13 @@ interview", "article publication" or "expenses approval".
<table>
<tr>
<th align="right">Process Name</th>
<th align="right">#acs-workflow.Process_Name#</th>
<td><input type="text" size="80" name="workflow_name" /></td>
</tr>
<tr>
<th align="right">Description
<br><small>(optional)</small></th>
<th align="right">#acs-workflow.Description#
<br><small>#acs-workflow.optional#</small></th>
<td><textarea name="description" cols="60" rows="8"></textarea>
</td>
</tr>
......@@ -38,3 +36,4 @@ interview", "article publication" or "expenses approval".
</master>
<master>
<property name="title">Copy Process</property>
<property name="title"><#Copy_Process Copy Process#></property>
<property name="context">@context;noquote@</property>
<property name="focus">workflow.new_workflow_pretty_name</property>
<property name="focus"><#lt_workflownew_workflow_ workflow.new_workflow_pretty_name#></property>
You're about to make a copy of the process @pretty_name@.
<#lt_Youre_about_to_make_a You're about to make a copy of the process @pretty_name@.#>
<p>
You must come up with a new name (both singular and plural) for the copy of the process.
<#lt_You_must_come_up_with You must come up with a new name (both singular and plural) for the copy of the process.
The form has been pre-filled with new names that, while not very imaginative, are at
least unique.
least unique.#>
<form action="workflow-copy-2" name="workflow" method="post">
@export_vars;noquote@
......@@ -21,7 +21,7 @@ least unique.
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr>
<th bgcolor="#ffffe4" align="left">
New Name
<#New_Name New Name#>
</th>
<td bgcolor="#eeeeee">
<input type="text" size="50" name="new_workflow_pretty_name" value="@new_workflow_pretty_name@" />
......@@ -41,4 +41,4 @@ least unique.
</form>
</master>
\ No newline at end of file
</master>
<if @format@ eq "html">
<h3>Transitions</h3>
<h3><#Transitions Transitions#></h3>
<table cellpadding="2" cellspacing="2" border="0">
<multiple name="transitions">
<include src="transition-display" &="workflow" transition_key="@transitions.transition_key;noquote@" selected_transition_key="@transition_key;noquote@" selected_place_key="@place_key;noquote@">
......@@ -8,7 +8,7 @@
</multiple>
</table>
<h3>Places</h3>
<h3><#Places Places#></h3>
<table cellpadding="2" cellspacing="2" border="0">
<multiple name="places">
<include src="place-display" &="workflow" place_key="@places.place_key;noquote@" selected_transition_key="@transition_key;noquote@" selected_place_key="@place_key;noquote@">
......@@ -19,3 +19,4 @@
<else>
@display;noquote@
</else>
......@@ -18,8 +18,7 @@
switch $format {
graph {
set dot_text [wf_generate_dot_representation workflow]
set dot_text [lang::util::localize [wf_generate_dot_representation workflow]]
set tmpfile [wf_graphviz_dot_exec -to_file -output gif $dot_text]
set width_and_height ""
......
......@@ -32,7 +32,7 @@ if { [wf_graphviz_installed_p] } {
set size {}
}
set dot_text [wf_generate_dot_representation -size $size workflow]
set dot_text [lang::util::localize [wf_generate_dot_representation -size $size workflow]]
if {[catch {
set tmpfile [wf_graphviz_dot_exec -to_file -output gif $dot_text]
......
<master>
<property name="title">@workflow.pretty_name;noquote@ Roles</property>
<property name="title"><#lt_workflowpretty_nameno @workflow.pretty_name;noquote@ Roles#></property>
<property name="context">@context;noquote@</property>
<include src="roles-table" workflow_key="@workflow_key;noquote@" return_url="@return_url;noquote@">
</master>
......@@ -29,7 +29,7 @@
<tr bgcolor="#ffffff">
<td>
@workflow.description@
<div align="right">(<a href="name-edit?workflow_key=@workflow.workflow_key@">edit name</a>)</div>
<div align="right">(<a href="name-edit?workflow_key=@workflow.workflow_key@">#acs-workflow.edit_name#</a>)</div>
</td>
</tr>
</table>
......@@ -47,15 +47,15 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>
Actions
#acs-workflow.Actions#
</th>
</tr>
<tr bgcolor="#ffffff">
<td>
(<a href="@edit_process_url@">graphic process editor</a>)
(<a href="@export_process_url@">export process</a>)
(<a href="@edit_process_url@">#acs-workflow.lt_graphic_process_edito#</a>)
(<a href="@export_process_url@">#acs-workflow.export_process#</a>)
<if @copy_process_url@ not nil>
(<a href="@copy_process_url@">make a copy</a>)
(<a href="@copy_process_url@">#acs-workflow.make_a_copy#</a>)
</if>
</td>
</tr>
......@@ -73,12 +73,12 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>Cases</th>
<th>#acs-workflow.Cases#</th>
</tr>
<tr bgcolor="#ffffff">
<td>
<if @workflow.num_unassigned_tasks@ gt 0>
<strong>Note!
<strong>#acs-workflow.Note_#
<a href="unassigned-tasks?workflow_key=@workflow.workflow_key@">
@workflow.num_unassigned_tasks@
unassigned task<if @workflow.num_unassigned_tasks@ gt 1>s</if>
......@@ -88,26 +88,26 @@
</if>
<p>
<if @workflow.num_active_cases@ eq 0>
No active cases
#acs-workflow.No_active_cases#
</if>
<if @workflow.num_active_cases@ eq 1>
<a href="cases?state=active&workflow_key=@workflow.workflow_key@">1 active case</a>
<a href="cases?state=active&workflow_key=@workflow.workflow_key@">#acs-workflow.1_active_case#</a>
</if>
<if @workflow.num_active_cases@ gt 1>
<a href="cases?state=active&workflow_key=@workflow.workflow_key@">@workflow.num_active_cases@ active cases</a>
<a href="cases?state=active&workflow_key=@workflow.workflow_key@">#acs-workflow.lt_workflownum_active_ca#</a>
</if>
<p>
<if @workflow.num_cases@ eq 0>
No old cases
#acs-workflow.No_old_cases#
</if>
<if @workflow.num_cases@ eq 1>
<a href="workflow-summary?workflow_key=@workflow.workflow_key@">1 case total</a>
<a href="workflow-summary?workflow_key=@workflow.workflow_key@">#acs-workflow.1_case_total#</a>
</if>
<if @workflow.num_cases@ gt 1>
<a href="workflow-summary?workflow_key=@workflow.workflow_key@">@workflow.num_cases@ cases total</a>
<a href="workflow-summary?workflow_key=@workflow.workflow_key@">#acs-workflow.lt_workflownum_cases_cas#</a>
</if>
<p>
(<a href="init?workflow_key=@workflow.workflow_key@">start new case</a>)
(<a href="init?workflow_key=@workflow.workflow_key@">#acs-workflow.start_new_case#</a>)
</td>
</tr>
</table>
......@@ -124,15 +124,15 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>Extreme Actions</th>
<th>#acs-workflow.Extreme_Actions#</th>
</tr>
<tr bgcolor="#ffffff">
<td>
<if @workflow.num_cases@ gt 0>
(<a href="javascript:if(confirm('Are you sure that you want to delete all cases of this process?'))location.href='workflow-cases-delete?workflow_key=@workflow.workflow_key@'">delete all cases</a>) &nbsp;
(<a href="javascript:if(confirm('Are you sure that you want to delete all cases of this process?'))location.href='workflow-cases-delete?workflow_key=@workflow.workflow_key@'">#acs-workflow.delete_all_cases#</a>) &nbsp;
</if>
(<a href="javascript:if(confirm('Are you sure you want to delete this business process definition?
Doing so will delete all cases of this workflow.'))location.href='workflow-delete?workflow_key=@workflow.workflow_key@'">delete process entirely</a>)
Doing so will delete all cases of this workflow.'))location.href='workflow-delete?workflow_key=@workflow.workflow_key@'">#acs-workflow.lt_delete_process_entire#</a>)
</td>
</tr>
</table>
......@@ -154,7 +154,7 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>
Transitions
#acs-workflow.Transitions#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -181,7 +181,7 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>
Attributes
#acs-workflow.Attributes#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -208,7 +208,7 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>
Roles
#acs-workflow.Roles#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -240,7 +240,7 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>
Transition Panels
#acs-workflow.Transition_Panels#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -265,7 +265,7 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle" bgcolor="#ccccff">
<th>
Static Assignments
#acs-workflow.Static_Assignments#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -297,7 +297,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Process
#acs-workflow.Process#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -326,3 +326,4 @@
</master>
<master>
<property name="title">Add Assignee</property>
<property name="title">#acs-workflow.Add_Assignee#</property>
<property name="context">@context;noquote@</property>
<property name="focus">@focus;noquote@</property>
<if @party_widget@ nil>
<blockquote>
<em>Every possible assignee is already assigned</em>
<em>#acs-workflow.lt_Every_possible_assign#</em>
<p>
<ul>
<li><a href="@return_url@">Go back</a></li>
<li><a href="@return_url@">#acs-workflow.Go_back#</a></li>
</ul>
</blockquote>
</if>
......@@ -19,7 +19,7 @@
<table>
<tr>
<th align="right">
Party to assign
#acs-workflow.Party_to_assign#
</th>
<td>
@party_widget;noquote@ <input type="submit" value="Add" />
......@@ -30,3 +30,4 @@
</else>
</master>
<master>
<property name="title">Assign @role_name;noquote@</property>
<property name="title">#acs-workflow.lt_Assign_role_namenoquo#</property>
<property name="context">@context;noquote@</property>
<form action="case-assignment-set-2" name="assignment">
@export_vars;noquote@
<table>
<tr>
<th align="right">Role</th>
<th align="right">#acs-workflow.Role#</th>
<td>@role_name@</td>
</tr>
<tr>
<th align="right">Assignments</th>
<th align="right">#acs-workflow.Assignments#</th>
<td>@widget;noquote@</td>
</tr>
<tr>
......@@ -27,4 +27,4 @@
</table>
</form>
</master>
\ No newline at end of file
</master>
......@@ -3,9 +3,9 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>Role</th>
<th>Assignees</th>
<th>Action</th>
<th>#acs-workflow.Role#</th>
<th>#acs-workflow.Assignees#</th>
<th>#acs-workflow.Action#</th>
</tr>
<multiple name="manual_assignments">
<tr bgcolor="#eeeeee">
......@@ -24,18 +24,18 @@
(<a href="mailto:@manual_assignments.email@">@manual_assignments.email@</a>)
</if>
<if @manual_assignments.remove_url@ not nil>
(<a href="@manual_assignments.remove_url@">remove</a>)
(<a href="@manual_assignments.remove_url@">#acs-workflow.remove#</a>)
</if>
</li>
</group>
</if>
<else>
<em>Unassigned</em>
<em>#acs-workflow.Unassigned#</em>
</else>
</td>
<td align="center">
<if @manual_assignments.edit_url@ not nil>
(<a href="@manual_assignments.edit_url@">edit</a>)
(<a href="@manual_assignments.edit_url@">#acs-workflow.edit#</a>)
</if>
</td>
</tr>
......@@ -46,3 +46,4 @@
</table>
<master>
<property name="title">Assignments for @case.object_name;noquote@ case</property>
<property name="title">#acs-workflow.lt_Assignments_for_caseo#</property>
<property name="context">@context;noquote@</property>
<blockquote>
......@@ -19,3 +19,4 @@
</master>
......@@ -3,9 +3,9 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>Attribute</th>
<th>Current Value</th>
<!-- <th>Action</th> -->
<th>#acs-workflow.Attribute#</th>
<th>#acs-workflow.Current_Value#</th>
<!-- <th>#acs-workflow.Action#</th> -->
</tr>
<multiple name="attributes">
<tr bgcolor="#eeeeee">
......@@ -14,7 +14,7 @@
<!--
<td align="center">
<if @attributes.edit_url@ not nil>
(<a href="@attributes.edit_url@">edit</a>)
(<a href="@attributes.edit_url@">#acs-workflow.edit#</a>)
</if>
</td>
-->
......@@ -26,3 +26,4 @@
</table>
<master>
<property name="title">Set Deadline</property>
<property name="title">#acs-workflow.Set_Deadline#</property>
<property name="context">@context;noquote@</property>
<form action="case-deadline-set-2" name="deadline">
@export_vars;noquote@
<table>
<tr>
<th align="right">Task</th>
<th align="right">#acs-workflow.Task#</th>
<td>@transition_name;noquote@</td>
</tr>
<tr>
<th align="right">Deadline</th>
<th align="right">#acs-workflow.Deadline#</th>
<td>@date_widget;noquote@ </td>
</tr>
<tr>
......@@ -27,4 +27,4 @@
</table>
</form>
</master>
\ No newline at end of file
</master>
......@@ -3,10 +3,10 @@
<td bgcolor="#cccccc">
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<tr valign="middle" bgcolor="#ffffe4">
<th>Task</th>
<th>Deadline</th>
<th>Remove</th>
<th>Edit</th>
<th>#acs-workflow.Task#</th>
<th>#acs-workflow.Deadline#</th>
<th>#acs-workflow.Remove#</th>
<th>#acs-workflow.Edit_1#</th>
</tr>
<multiple name="deadlines">
<tr bgcolor="#eeeeee">
......@@ -18,18 +18,18 @@
@deadlines.deadline_pretty@
</if>
<else>
<em>no deadline</em>
<em>#acs-workflow.no_deadline#</em>
</else>
</td>
<td align="center">
<if @deadlines.remove_url@ not nil>
(<a href="@deadlines.remove_url@">remove</a>)
(<a href="@deadlines.remove_url@">#acs-workflow.remove#</a>)
</if>
<else>&nbsp;</else>
</td>
<td align="center">
<if @deadlines.edit_url@ not nil>
(<a href="@deadlines.edit_url@">edit</a>)
(<a href="@deadlines.edit_url@">#acs-workflow.edit#</a>)
</if>
<else>&nbsp;</else>
</td>
......@@ -38,7 +38,7 @@
<if @deadlines:rowcount@ eq 0>
<tr>
<td>
<em>No transitions</em>
<em>#acs-workflow.No_transitions#</em>
</td>
</tr>
</if>
......@@ -46,3 +46,4 @@
</td>
</tr>
</table>
<master>
<property name="title">@case.object_name;noquote@ Deadlines</property>
<property name="title">#acs-workflow.lt_caseobject_namenoquot#</property>
<property name="context">@context;noquote@</property>
<blockquote>
......@@ -20,3 +20,4 @@
</master>
<master>
<property name="title">@case.object_name;noquote@ case</property>
<property name="title">#acs-workflow.lt_caseobject_namenoquot_1#</property>
<property name="context">@context;noquote@</property>
<table width="100%" cellspacing="4" cellpadding="2" border="0">
......@@ -15,7 +15,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
This case is currently @case.state@
#acs-workflow.lt_This_case_is_currentl#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -24,14 +24,14 @@
<tr>
<td>
<if @actions:rowcount@ gt 0>
Change state:
#acs-workflow.Change_state#
<multiple name="actions">
(<a href="@actions.url@">@actions.title@</a>)
</multiple>
</if>
</td>
<td align="right">
(<a href="@case.debug_url@">debug case</a>)
(<a href="@case.debug_url@">#acs-workflow.debug_case#</a>)
</td>
</tr>
</table>
......@@ -51,7 +51,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Active Tasks
#acs-workflow.Active_Tasks#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -73,7 +73,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Manual Assignments
#acs-workflow.Manual_Assignments#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -95,7 +95,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Deadlines
#acs-workflow.Deadlines#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -117,7 +117,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Past Tasks
#acs-workflow.Past_Tasks#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -139,7 +139,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Attributes
#acs-workflow.Attributes#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -164,7 +164,7 @@
<table border="0" cellspacing="1" cellpadding="2" width="100%">
<tr bgcolor="#ccccff">
<th>
Process State
#acs-workflow.Process_State#
</th>
</tr>
<tr bgcolor="#ffffff">
......@@ -191,3 +191,4 @@
</master>
<master>
<property name="title">Comment on case @case.object_name;noquote@</property>
<property name="title">#acs-workflow.lt_Comment_on_case_caseo#</property>
<property name="context">@context;noquote@</property>
<property name="focus">comment.msg</property>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr bgcolor="#ccccff"><th>Comment</th></tr>
<tr bgcolor="#ccccff"><th>#acs-workflow.Comment#</th></tr>
</table>
......@@ -17,7 +17,7 @@
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr valign="middle">
<th bgcolor="#ffffe4" width="20%">Comment</th>
<th bgcolor="#ffffe4" width="20%">#acs-workflow.Comment#</th>
<td bgcolor="#eeeeee"><textarea name="msg" rows="6" cols="60"></textarea></td>
</tr>
......@@ -39,3 +39,4 @@
</master>
<master>
<property name="title">Work List</property>
<property name="title">#acs-workflow.Work_List#</property>
<property name="context">@context;noquote@</property>
<if @admin_p@ eq 1>
(<a href="admin/">Administer</a>)<p>
(<a href="admin/">#acs-workflow.Administer#</a>)<p>
</if>
<h3>Tasks You Are Currently Working On</h3>
<h3>#acs-workflow.lt_Tasks_You_Are_Current#</h3>
<include src="task-list" type="own">
<h3>Tasks To Be Done</h3>
<h3>#acs-workflow.Tasks_To_Be_Done#</h3>
<include src="task-list">
<if @admin_p@ eq 1>
<h3>Unassigned Tasks</h3>
<h3>#acs-workflow.Unassigned_Tasks#</h3>
<include src="task-list" type="unassigned">
</if>
</master>
Here are some logic and aids for the approval.
\ No newline at end of file
#acs-workflow.lt_Here_are_some_logic_a#
Here's some information about the expense claim.
#acs-workflow.lt_Heres_some_informatio#
......@@ -39,7 +39,7 @@ set reassign_p [im_permission $user_id wf_reassign_tasks]
<form action="@task.action_url@" method="post">
@export_form_vars;noquote@
<table>
<tr><th align="right">Action:</th>
<tr><th align="right">#acs-workflow.Action_1#</th>
<td><input type="submit" name="action.start" value="Start task" /></td>
</tr>
</table>
......@@ -84,10 +84,10 @@ set reassign_p [im_permission $user_id wf_reassign_tasks]
<if @task.deadline_pretty@ not nil>
<p>
<if @task.days_till_deadline@ lt 1>
<font color="red"><strong>Deadline is @task.deadline_pretty@</strong></font>
<font color="red"><strong>#acs-workflow.lt_Deadline_is_taskdeadl#</strong></font>
</if>
<else>
Deadline is @task.deadline_pretty@
#acs-workflow.lt_Deadline_is_taskdeadl#
</else>
</if>
</if>
......@@ -101,7 +101,7 @@ set reassign_p [im_permission $user_id wf_reassign_tasks]
<multiple name="task_roles_to_assign">
<tr>
<th align="right">Assign @task_roles_to_assign.role_name@</th>
<th align="right">#acs-workflow.lt_Assign_task_roles_to_#</th>
<td>@task_roles_to_assign.assignment_widget;noquote@</td>
</tr>
</multiple>
......@@ -114,14 +114,14 @@ set reassign_p [im_permission $user_id wf_reassign_tasks]
</multiple>
<tr>
<th align="right">Comment<br></th>
<th align="right">#acs-workflow.Comment#<br></th>
<td><textarea name="msg" cols=20 rows=4></textarea></td>
</tr>
<tr>
<th align="right">Action</th>
<th align="right">#acs-workflow.Action#</th>
<td>
<input type="submit" name="action.finish" value="Task done" />
<input type="submit" name="action.finish" value="#acs-workflow.Task_done#" />
</td>
</tr>
......@@ -130,61 +130,62 @@ set reassign_p [im_permission $user_id wf_reassign_tasks]
<table>
<tr>
<th>Started</th>
<th>#acs-workflow.Started#</th>
<td>@task.started_date_pretty@
&nbsp; &nbsp; </td>
</tr>
<if @task.hold_timeout_pretty@ not nil>
<tr><th>Timeout</th><td>@task.hold_timeout_pretty@</td></tr>
<tr><th>#acs-workflow.Timeout#</th><td>@task.hold_timeout_pretty@</td></tr>
</if>
<if @task.deadline_pretty@ not nil>
<tr><th>Deadline</th><td>
<tr><th>#acs-workflow.Deadline#</th><td>
<if @task.days_till_deadline@ lt 1>
<font color="red"><strong>Deadline is @task.deadline_pretty@</strong></font>
<font color="red"><strong>#acs-workflow.lt_Deadline_is_taskdeadl#</strong></font>
</if>
<else>
Deadline is @task.deadline_pretty@
#acs-workflow.lt_Deadline_is_taskdeadl#
</else>
</td></tr>
</if>
<tr>
<td colspan="2"><!--<ul class="admin_links"><li><a href="@task.cancel_url@">cancel task</a></li></ul>--></td>
<td colspan="2"><ul class="admin_links"><li><a href="@task.cancel_url@">#acs-workflow.cancel_task#</a></li></ul></td>
</tr>
</table>
</if>
<else>
<table>
<tr><th>Held by</th><td><a href="/shared/community-member?user_id=@task.holding_user@">@task.holding_user_name@</a></td></tr>
<tr><th>Since</th><td>@task.started_date_pretty@</td></tr>
<tr><th>Timeout</th><td>@task.hold_timeout_pretty@</td></tr>
<tr><th>#acs-workflow.Held_by#</th><td><a href="/shared/community-member?user_id=@task.holding_user@">@task.holding_user_name@</a></td></tr>
<tr><th>#acs-workflow.Since#</th><td>@task.started_date_pretty@</td></tr>
<tr><th>#acs-workflow.Timeout#</th><td>@task.hold_timeout_pretty@</td></tr>
</table>
</else>
</if>
<if @task.state@ eq finished>
<if @task.this_user_is_assigned_p@ eq 1>
You finished this task on @task.finished_date_pretty@.
#acs-workflow.lt_You_finished_this_tas#
<p>
<a href="@return_url@">Go back</a>
<a href="@return_url@">#acs-workflow.Go_back#</a>
</if>
<else>
This task was completed by <a href="/shared/community-member?user_id=@task.holding_user@">@task.holding_user_name@</a>
at @task.finished_date_pretty@
#acs-workflow.lt_This_task_was_complet# <a href="/shared/community-member?user_id=@task.holding_user@">@task.holding_user_name@</a>
#acs-workflow.lt_at_taskfinished_date_#
</else>
</if>
<if @task.state@ eq canceled>
<if @task.this_user_is_assigned_p@ eq 1>
You canceled this task on @task.canceled_date_pretty@.
#acs-workflow.lt_You_canceled_this_tas#
<p>
<a href="@return_url@">Go back</a>
<a href="@return_url@">#acs-workflow.Go_back#</a>
</if>
<else>
This task has been canceled by <a href="/shared/community-member?user_id=@task.holding_user@">@task.holding_user_name@</a>
on @task.canceled_date_pretty@
#acs-workflow.lt_This_task_has_been_ca# <a href="/shared/community-member?user_id=@task.holding_user@">@task.holding_user_name@</a>
#acs-workflow.lt_on_taskcanceled_date_#
</else>
</if>
<master>
<property name="title">Reassign Task</property>
<property name="title">#acs-workflow.Reassign_Task#</property>
<property name="context">@context;noquote@</property>
<h3>Current Assignees</h3>
<h3>#acs-workflow.Current_Assignees#</h3>
<ul>
......@@ -15,24 +15,24 @@
@assignees.name@
</else>
<if @assignees.email@ not nil>(<a href="mailto:@assignees.email@">@assignees.email@</a>)</if>
(<a href="@assignees.remove_url@">remove</a>)
(<a href="@assignees.remove_url@">#acs-workflow.remove#</a>)
</li>
</multiple>
<if @assignees:rowcount@ eq 0>
<em>no assignees</em>
<em>#acs-workflow.no_assignees#</em>
</if>
</ul>
(<a href="@task.add_group_url@">add group</a>)
(<a href="@task.add_person_url@">add person</a>)
(<a href="@task.add_group_url@">#acs-workflow.add_group#</a>)
(<a href="@task.add_person_url@">#acs-workflow.add_person#</a>)
<if @task.this_user_is_assigned_p@ eq 0>
(<a href="@task.assign_yourself_url@">assign yourself</a>)
(<a href="@task.assign_yourself_url@">#acs-workflow.assign_yourself#</a>)
</if>
<h3>Effective Assignees</h3>
<h3>#acs-workflow.Effective_Assignees#</h3>
<ul>
......@@ -41,7 +41,7 @@
</multiple>
<if @effective_assignees:rowcount@ eq 0>
<em>no effective assignees</em>
<em>#acs-workflow.lt_no_effective_assignee#</em>
</if>
</ul>
......@@ -58,3 +58,4 @@
</form>
</master>
<master>
<property name="title">Set Deadline</property>
<property name="title">#acs-workflow.Set_Deadline#</property>
<property name="context">@context;noquote@</property>
<form action="task-deadline-set-2" name="deadline">
@export_vars;noquote@
<table>
<tr><th align="right">Task</th><td>@task.task_name@</td></tr>
<tr><th align="right">Deadline</th>
<tr><th align="right">#acs-workflow.Task#</th><td>@task.task_name@</td></tr>
<tr><th align="right">#acs-workflow.Deadline#</th>
<td>@date_widget@ <input type="submit" value="Set" /></td></tr>
</table>
</form>
</master>
\ No newline at end of file
</master>
<table border="0">
<tr>
<th>Object Type</th>
<th>#acs-workflow.Object_Type#</th>
<td>@task.object_type_pretty@</td>
</tr>
<tr>
<th>Object</th>
<th>#acs-workflow.Object#</th>
<td>@task.object_name@</td>
</tr>
</table>
\ No newline at end of file
</table>
<if @task_list:rowcount@ eq 0>
<em>No tasks</em>
<em>#acs-workflow.No_tasks#</em>
</if>
<if @task_list:rowcount@ ne 0>
......@@ -14,11 +14,11 @@
<th><%= [lang::message::lookup "" acs-workflow.As_part_of "Part of"] %></th>
<if @type@ eq "own">
<th>Started</th>
<th>#acs-workflow.Started#</th>
</if>
<th>Time Estimate</th>
<th>Deadline</th>
<th>#acs-workflow.Time_Estimate#</th>
<th>#acs-workflow.Deadline#</th>
</tr>
</thead>
<tbody>
......@@ -30,7 +30,7 @@
<if @task_list.holding_user@ not nil>
<if @task_list.holding_user_first@ not nil>
<if @task_list.holding_user_email@ not nil>
by <a href="/shared/community-member?user_id=@task_list.holding_user@">@task_list.holding_user_first@ @task_list.holding_user_last@</a> (<a href="mailto:@task_list.holding_user_email@">@task_list.holding_user_email@</a>)
#acs-workflow.by# <a href="/shared/community-member?user_id=@task_list.holding_user@">@task_list.holding_user_first@ @task_list.holding_user_last@</a> (<a href="mailto:@task_list.holding_user_email@">@task_list.holding_user_email@</a>)
</if>
</if>
</if>
......@@ -71,4 +71,4 @@
</td></tr>
</table>
</if>
\ No newline at end of file
</if>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment