Changeset 16327


Ignore:
Timestamp:
21 Nov 2020, 14:27:22 (4 years ago)
Author:
Henrik Bettermann
Message:

Make maximum number of applicants on ApplicantsContainerManageFormPage
customizable.

Location:
main/waeup.kofa/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r16299 r16327  
    441.6.1.dev0 (unreleased)
    55=======================
     6
     7* Make maximum number of applicants on `ApplicantsContainerManageFormPage`
     8  customizable.
    69
    710* Implement bulk emailing.
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r16243 r16327  
    378378    grok.require('waeup.manageApplication')
    379379    doclink = DOCLINK + '/applicants.html'
     380    max_applicants = 2000
    380381
    381382    @property
     
    387388    @property
    388389    def showApplicants(self):
    389         if self.context.counts[1] < 1000:
     390        if self.context.counts[1] < self.max_applicants:
    390391            return True
    391392        return False
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt

    r15964 r16327  
    9090    <tal:showNoApplicants condition="not: view/showApplicants">
    9191      <p i18n:translate="note_acmp">
    92           There are more than 1000 application records in this container.
     92          There are more than
     93          <span tal:replace="view/max_applicants">MAX_APPLICANTS</span>
     94          application records in this container.
    9395          In order to prevent from downloading big amounts of data, the
    9496          Applicants tab has been disabled. Please use the
Note: See TracChangeset for help on using the changeset viewer.