Project

General

Profile

« Previous | Next » 

Revision ee316ad8

Added by Frédéric Péters almost 14 years ago

Do not display forms for which there's no pending forms

View differences:

extra/modules/backoffice.ptl
36 36
            else:
37 37
                not_endpoint_status_ids = ['new', 'accepted']
38 38
            pending_forms = [x for x in all_forms if x.status in not_endpoint_status_ids]
39
            if len(pending_forms) == 0:
40
                return
39 41
            l.append((formdef, len(pending_forms), len(all_forms)))
40 42

  
41 43
        l = []

Also available in: Unified diff