Ignore:
Timestamp:
16 Jun 2015, 14:48:55 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename customer views which are not layout-aware and thus not pages.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/customers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py

    r12809 r13066  
    454454
    455455
    456 class CustomerActivatePage(UtilityView, grok.View):
     456class CustomerActivateView(UtilityView, grok.View):
    457457    """ Activate customer account
    458458    """
     
    474474
    475475
    476 class CustomerDeactivatePage(UtilityView, grok.View):
     476class CustomerDeactivateView(UtilityView, grok.View):
    477477    """ Deactivate customer account
    478478    """
     
    10541054        return
    10551055
    1056 class PDFDocumentsOverviewPage(UtilityView, grok.View):
     1056class PDFDocumentsOverviewSlip(UtilityView, grok.View):
    10571057    """Deliver an overview slip.
    10581058    """
     
    11111111
    11121112
    1113 class PDFDocumentSlipPage(UtilityView, grok.View):
     1113class PDFDocumentSlip(UtilityView, grok.View):
    11141114    """Deliver pdf file including metadata.
    11151115    """
     
    11411141
    11421142
    1143 class PDFMergeDocumentSlipPage(PDFDocumentSlipPage):
     1143class PDFMergeDocumentSlip(PDFDocumentSlip):
    11441144    """Deliver pdf file including metadata.
    11451145    """
     
    15831583        return
    15841584
    1585 class PDFContractsOverviewPage(UtilityView, grok.View):
     1585class PDFContractsOverviewSlip(UtilityView, grok.View):
    15861586    """Deliver an overview slip.
    15871587    """
     
    16411641
    16421642
    1643 class PDFContractSlipPage(UtilityView, grok.View):
     1643class PDFContractSlip(UtilityView, grok.View):
    16441644    """Deliver pdf file including metadata.
    16451645    """
     
    17261726
    17271727
    1728 class PDFContractReceiptPage(UtilityView, grok.View):
     1728class PDFContractReceiptSlip(UtilityView, grok.View):
    17291729    """Deliver pdf file including metadata.
    17301730    """
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/fileviewlets.py

    r12446 r13066  
    3232    CustomerFilesUploadPage,
    3333    DocumentDisplayFormPage, DocumentManageFormPage, DocumentEditFormPage,
    34     PDFDocumentSlipPage,)
     34    PDFDocumentSlip,)
    3535
    3636grok.templatedir('browser_templates')
     
    131131
    132132class SampleScanPDFSlip(SampleScanDisplay):
    133     grok.view(PDFDocumentSlipPage)
     133    grok.view(PDFDocumentSlip)
    134134
    135135
     
    188188
    189189class PDFScanSlip(PDFScanDisplay):
    190     grok.view(PDFDocumentSlipPage)
     190    grok.view(PDFDocumentSlip)
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py

    r12825 r13066  
    550550        logcontent = open(logfile).read()
    551551        self.assertTrue(
    552             'zope.mgr - customers.browser.CustomerDeactivatePage - '
     552            'zope.mgr - customers.browser.CustomerDeactivateView - '
    553553            'K1000000 - account deactivated' in logcontent)
    554554        self.assertTrue(
    555             'zope.mgr - customers.browser.CustomerActivatePage - '
     555            'zope.mgr - customers.browser.CustomerActivateView - '
    556556            'K1000000 - account activated' in logcontent)
    557557
Note: See TracChangeset for help on using the changeset viewer.