Changeset 9658 for main/waeup.kofa
- Timestamp:
- 17 Nov 2012, 09:04:19 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/reportscontainerpage.pt
r9647 r9658 20 20 </td> 21 21 <td> 22 <span tal:replace="python: entry[ 6]">CREATOR</span>22 <span tal:replace="python: entry[7]">CREATOR</span> 23 23 </td> 24 24 <td nowrap> 25 <span tal:replace="python: entry[ 5]">DATETIME</span>25 <span tal:replace="python: entry[6]">DATETIME</span> 26 26 </td> 27 27 <td> … … 38 38 name="DISCARD" value="Discard" 39 39 tal:condition="python: entry[3]" /> 40 <a href="" 41 tal:condition="python: entry[5]"> 42 <img tal:attributes="src static/actionicon_reload.png" /> 43 </a> 40 44 </form> 41 </td>42 <td>43 45 </td> 44 46 </tr> 45 47 </tbody> 46 48 </table> 47 48 49 <div class="span12"> 49 <a href="" class="btn primary">Reload page</a> 50 <a href="create" class="btn secondary">Create new report</a> 50 <a href="create" class="btn primary">Create new report</a> 51 51 </div> 52 52 </form> -
main/waeup.kofa/trunk/src/waeup/kofa/reports.py
r9647 r9658 476 476 discardable = job.finished 477 477 downloadable = job.finished and not job.failed 478 running = not (downloadable or discardable) 478 479 starttime = getattr(job, 'begin_after', None) 479 480 if starttime: … … 483 484 continue 484 485 result.append((job_id, job.description, status, 485 discardable, downloadable, starttime, user_name),) 486 discardable, downloadable, running, 487 starttime, user_name),) 486 488 return result 487 489 -
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_reports.py
r9647 r9658 395 395 self.assertEqual( 396 396 result, 397 [('2', 'Report 1 ()', u'running', False, False, None, 'bob'),]397 [('2', 'Report 1 ()', u'running', False, False, True, None, 'bob'),] 398 398 ) 399 399 return
Note: See TracChangeset for help on using the changeset viewer.