Changeset 8406 for main/waeup.kofa
- Timestamp:
- 10 May 2012, 07:04:55 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantscontainerpage.pt
r7708 r8406 1 1 <span tal:condition="view/introduction" tal:omit-tag=""> 2 <span tal:content="structure view/introduction">INTRODUCTION</span> 3 <br /> 2 <p tal:content="structure view/introduction">INTRODUCTION</p> 4 3 </span> 5 4 -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantsrootmanagepage.pt
r8388 r8406 35 35 <div id="tab-2" tal:attributes="class view/tab2"> 36 36 <h3 tal:content="view/subunits">SUBUNITS</h3> 37 38 <p i18n:translate="note_armp"> 39 Please note that containers will be opened in manage mode here. 40 All application record links will be loaded into your browser which 41 can take a considerable time depending on your bandwidth. 42 Please be patient until all records have been loaded. 43 </p> 44 37 45 <table class="display dataTableManage"> 38 46 <thead> … … 54 62 <td tal:content="entry/year">YEAR</td> <td> 55 63 <a href="" 56 tal:attributes="href python:view.url(entry) "64 tal:attributes="href python:view.url(entry) + '/manage'" 57 65 tal:content="entry/__name__">CODE</a> </td> 58 66 <td tal:content="entry/title">TITLE</td> -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8405 r8406 305 305 self.assertTrue('Added:' in self.browser.contents) 306 306 self.browser.getLink("app2010").click() 307 self.assertTrue(' <h1>General Studies 2010/2011</h1>'307 self.assertTrue('Manage applicants container' 308 308 in self.browser.contents) 309 309 self.browser.open(self.add_container_path) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py
r8404 r8406 82 82 return self.view.application_url() + rel_link 83 83 84 class SearchApplicantsActionButton(ManageActionButton):84 class ApplicantsRootSearchActionButton(ManageActionButton): 85 85 grok.order(1) 86 86 grok.context(IApplicantsRoot) … … 91 91 target = '@@search' 92 92 93 class ManageApplicantsRootActionButton(ManageActionButton):93 class ApplicantsRootManageActionButton(ManageActionButton): 94 94 grok.order(2) 95 95 grok.context(IApplicantsRoot) … … 98 98 text = _('Manage application section') 99 99 100 class ApplicantsContainerManageActionButton(ManageActionButton):101 grok.order(1)102 grok.context(IApplicantsContainer)103 grok.view(ApplicantsContainerPage)104 grok.require('waeup.manageApplication')105 text = _('Manage applicants container')100 #class ApplicantsContainerManageActionButton(ManageActionButton): 101 # grok.order(1) 102 # grok.context(IApplicantsContainer) 103 # grok.view(ApplicantsContainerPage) 104 # grok.require('waeup.manageApplication') 105 # text = _('Manage application records') 106 106 107 107 class ApplicantRegisterActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.