manageActivities.dtml 3.07 KB
Newer Older
Jean-Paul Smets's avatar
Jean-Paul Smets committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<dtml-comment>
Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
                    Jean-Paul Smets <jp@nexedi.com>

WARNING: This program as such is intended to be used by professional
programmers who take the whole responsability of assessing all potential
consequences resulting from its eventual inadequacies and bugs

This program as such is not intended to be used by end users. End
users who are looking for a ready-to-use solution with commercial
garantees and support are strongly adviced to contract a Free Software
Service Company

This program is Free Software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
</dtml-comment>

<dtml-var manage_page_header>
<dtml-var manage_tabs>

32
<h3>Queued Activities <dtml-var expr="len(getMessageList(include_processing=1))"></h3>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
33 34 35 36 37
<table cellspacing="0" cellpadding="2" border="1">
  <tr>
    <th align="left" valign="top"></th>
    <th align="left" valign="top">Object</th>
    <th align="left" valign="top">Method Id</th>
38
    <th align="left" valign="top">Activity Kw</th>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
39 40
    <th align="left" valign="top">Arguments</th>
    <th align="left" valign="top">Named Parameters</th>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
41
    <th align="left" valign="top">Processing Node</th>
42
    <th align="left" valign="top">Priority</th>
43
    <th align="left" valign="top">Processing</th>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
44
  </tr>
45
  <dtml-in expr="getMessageList(include_processing=1)">
Jean-Paul Smets's avatar
Jean-Paul Smets committed
46 47
      <tr>
        <td align="left" valign="top"><a href="manageCancel?object_path=<dtml-var "'/'.join(object_path)">&method_id=<dtml-var method_id>">Cancel</a> <a href="manageInvoke?object_path=<dtml-var "'/'.join(object_path)">&method_id=<dtml-var method_id>">Invoke</a></td>
48
        <td align="left" valign="top"><a href="<dtml-var "'/'.join(object_path)">"><dtml-var "'/'.join(object_path)"></a></td>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
49
        <td align="left" valign="top"><dtml-var method_id></td>
50
        <td align="left" valign="top"><dtml-var "_.str(activity_kw)[1:-1]"></td>
51
        <dtml-try>
52
          <td align="left" valign="top"><dtml-var "', '.join(args)"></td>
53 54 55
        <dtml-except>
          <th align="left" valign="top">Not printable</th>
        </dtml-try>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
56
        <td align="left" valign="top"><dtml-var "_.str(kw)[1:-1]"></td>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
57
        <td align="left" valign="top"><dtml-var processing_node></td>
58
        <td align="left" valign="top"><dtml-var priority></td>
59 60 61 62 63
        <td align="left" valign="top">
          <dtml-if expr="processing is not None">
             <dtml-var processing>
          </dtml-if>
        </td>
Jean-Paul Smets's avatar
Jean-Paul Smets committed
64 65 66 67 68 69
      </tr>
  </dtml-in>
</table>


<dtml-var manage_page_footer>