Ignore:
Timestamp:
10 May 2012, 07:04:55 (13 years ago)
Author:
Henrik Bettermann
Message:

Go directly to ApplicantsContainerManageFormPage? when clicking container link on ApplicantsRootManageFormPage?.

Hide Manage button on ApplicantsContainerPage?.

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  
    11<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>
    43</span>
    54
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantsrootmanagepage.pt

    r8388 r8406  
    3535    <div id="tab-2" tal:attributes="class view/tab2">
    3636      <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
    3745      <table class="display dataTableManage">
    3846        <thead>
     
    5462            <td tal:content="entry/year">YEAR</td> <td>
    5563              <a href=""
    56                 tal:attributes="href python:view.url(entry)"
     64                tal:attributes="href python:view.url(entry) + '/manage'"
    5765                tal:content="entry/__name__">CODE</a> </td>
    5866            <td tal:content="entry/title">TITLE</td>
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r8405 r8406  
    305305        self.assertTrue('Added:' in self.browser.contents)
    306306        self.browser.getLink("app2010").click()
    307         self.assertTrue('<h1>General Studies 2010/2011</h1>'
     307        self.assertTrue('Manage applicants container'
    308308            in self.browser.contents)
    309309        self.browser.open(self.add_container_path)
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r8404 r8406  
    8282        return self.view.application_url() + rel_link
    8383
    84 class SearchApplicantsActionButton(ManageActionButton):
     84class ApplicantsRootSearchActionButton(ManageActionButton):
    8585    grok.order(1)
    8686    grok.context(IApplicantsRoot)
     
    9191    target = '@@search'
    9292
    93 class ManageApplicantsRootActionButton(ManageActionButton):
     93class ApplicantsRootManageActionButton(ManageActionButton):
    9494    grok.order(2)
    9595    grok.context(IApplicantsRoot)
     
    9898    text = _('Manage application section')
    9999
    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')
    106106
    107107class ApplicantRegisterActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.