[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/workflow/ -> process.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <form action={concat($module.functions.process.uri,"/",$process.id)|ezurl} method="post" name="WorkflowProcess">
   3  
   4  <h1>{"Workflow process"|i18n("design/standard/workflow")} {$process.id}</h1>
   5  
   6  <p>
   7  {"Workflow process was created at %creation and modified at %modification."|i18n("design/standard/workflow",,hash('%creation',$process.created|l10n(shortdatetime),'%modification',$process.modified|l10n(shortdatetime)))}
   8  </p>
   9  
  10  <h2>{"Workflow"|i18n("design/standard/workflow")}</h2>
  11  <p>
  12  {"Using workflow"|i18n("design/standard/workflow")} <b><a href={concat($module.functions.edit.uri,"/",$process.workflow_id)|ezurl}>{$current_workflow.name} ({$process.workflow_id})</a></b> {"for processing."|i18n("design/standard/workflow")}
  13  </p>
  14  
  15  <h2>{"User"|i18n("design/standard/workflow")}</h2>
  16  <p>
  17  {"This workflow is running for user"|i18n("design/standard/workflow")} <b>{$process.user.login}</b>.
  18  </p>
  19  
  20  <h2>{"Content object"|i18n("design/standard/workflow")}</h2>
  21  <p>
  22  {"Workflow was created for content"|i18n("design/standard/workflow")} <b><a href={concat("/content/view/",$process.content_id)|ezurl}>{$process.content.name}</a></b>
  23  {"using version"|i18n("design/standard/workflow")} <b><a href={concat("/content/view/",$process.content_id,"/",$process.content_version)|ezurl}>{$process.content_version}</a></b>
  24  {"in parent"|i18n("design/standard/workflow")} <b><a href={concat("/content/view/",$process.node_id)|ezurl}>{$process.node.name|wash}</a></b>
  25  </p>
  26  
  27  <h2>{"Workflow event"|i18n("design/standard/workflow")}</h2>
  28  {section show=$current_event|not}
  29  <p>
  30  {"Workflow has not started yet, number of main events in workflow is"|i18n("design/standard/workflow")} <b>{$current_workflow.event_count}</b>.
  31  </p>
  32  {/section}
  33  {section show=$current_event}
  34  <p>
  35  {"Current event position is"|i18n("design/standard/workflow")} <b>{$process.event_position}</b>.
  36  {"Event to be run is"|i18n("design/standard/workflow")} <i>{$current_event.workflow_type.name}</i> {"event"|i18n("design/standard/workflow")} <b>{$current_event.description} ({$process.event_id})</b>.
  37  </p>
  38  {/section}
  39  
  40  {section show=$event_status}
  41  <p>
  42  {"Last event returned status"|i18n("design/standard/workflow")} <b>{$event_status}.
  43  </p>
  44  {/section}
  45  
  46  <h3>{"Workflow event list"|i18n("design/standard/workflow")}</h3>
  47  {section name=Workflow loop=$current_workflow.ordered_event_list}
  48    {switch name=EventNumber match=$Workflow:number}
  49      {case match=$process.event_position}
  50        <b>{$Workflow:number}: {$Workflow:item.workflow_type.name} - {$Workflow:item.description}</b><br/>
  51      {/case}
  52      {case match=$process.last_event_position}
  53        <i>{$Workflow:number}: {$Workflow:item.workflow_type.name} - {$Workflow:item.description}</i><br/>
  54      {/case}
  55      {case}
  56        {$Workflow:number}: {$Workflow:item.workflow_type.name} - {$Workflow:item.description}<br/>
  57      {/case}
  58    {/switch}
  59  {/section}
  60  
  61  <br/>
  62  
  63  <table width="100%">
  64  <tr>
  65  <td>{include uri="design:gui/button.tpl" name=new id_name=Reset value="Reset"|i18n("design/standard/workflow")}</td>
  66  <td>{include uri="design:gui/button.tpl" name=new id_name=RunProcess value="Next step"|i18n("design/standard/workflow")}</td>
  67  <td width="99%" />
  68  </tr>
  69  </table>
  70  
  71  </form>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7