web/views/workflow.py
branch3.5
changeset 3216 4a006fce6023
parent 3215 bf30ab5ba6ee
child 3219 be8cfc00ae04
equal deleted inserted replaced
3215:bf30ab5ba6ee 3216:4a006fce6023
   163             if tr.require_group:
   163             if tr.require_group:
   164                 descr.append('%s %s'% (
   164                 descr.append('%s %s'% (
   165                     self._('groups:'),
   165                     self._('groups:'),
   166                     ','.join(g.name for g in tr.require_group)))
   166                     ','.join(g.name for g in tr.require_group)))
   167             if tr.condition:
   167             if tr.condition:
   168                 descr.append('%s %s'% (self._('condition:'), tr.condition))
   168                 descr.append('%s %s'% (
       
   169                     self._('condition:'),
       
   170                     ' | '.join(e.expression for e in tr.condition)))
   169             if descr:
   171             if descr:
   170                 props['label'] += escape('\n'.join(descr))
   172                 props['label'] += escape('\n'.join(descr))
   171         return props
   173         return props
   172 
   174 
   173     def edge_properties(self, transition, fromstate, tostate):
   175     def edge_properties(self, transition, fromstate, tostate):