Ignore:
Timestamp:
29 May 2012, 14:16:23 (12 years ago)
Author:
Henrik Bettermann
Message:

Disable Applicants tab for containers with more than 5000 records.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt

    r8314 r8547  
    3434    </div>
    3535    <div id="tab-2" tal:attributes="class view/tab2">
    36 
     36    <tal:showApplicants  condition="view/showApplicants">
    3737    <input type="checkbox" onClick="toggle(this, 'val_id')" />
    3838    <span  i18n:translate="">Select all</span>
     
    8484        </span>
    8585      </div>
     86    </tal:showApplicants>
     87    <tal:showNoApplicants condition="not: view/showApplicants">
     88      <p i18n:translate="note_armp">
     89          There are more than 5000 application records in this container.
     90          In order to prevent from downloading big amounts of data, the
     91          Applicants tab has been disabled. Please use the
     92          <a tal:attributes="href python: view.url(layout.site, 'applicants/search')">
     93          search form</a>
     94          for accessing application records.
     95      </p>
     96    </tal:showNoApplicants>
    8697    </div>
    8798    <div id="tab-3" tal:attributes="class view/tab3"> <br />
Note: See TracChangeset for help on using the changeset viewer.