Changeset 12220 for main


Ignore:
Timestamp:
14 Dec 2014, 05:04:52 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove trash from userscontainer.py.

Go to container manage page after adding a document.

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

Legend:

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

    r12218 r12220  
    802802
    803803class DocumentAddFormPage(IkobaAddFormPage):
    804     """ Page to add an document
     804    """ Page to add a document
     805
     806    This add form page is for both customers and customers officers.
    805807    """
    806808    grok.context(ICustomerDocumentsContainer)
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser.py

    r12215 r12220  
    139139        self.context.__parent__.logger.info(
    140140            '%s - added: %s %s' % (ob_class, doctype, document.document_id))
    141         self.redirect(self.url(self.context))
     141        self.redirect(self.url(self.context, u'manage'))
    142142        return
    143143
  • main/waeup.ikoba/trunk/src/waeup/ikoba/userscontainer.py

    r12087 r12220  
    4848                             description=description, public_name=public_name,
    4949                             email=email, phone=phone, roles=roles)
    50         #self.logger.info('User account %s added.' % name)
    5150
    5251    def addAccount(self, account):
     
    5453        """
    5554        self[account.name] = account
    56         #self.logger.info('User account %s added.' % account.name)
    5755
    5856    def delUser(self, name):
     
    6361        if name in self.keys():
    6462            del self[name]
    65             #self.logger.info('User account %s deleted.' % name)
    6663
    6764
Note: See TracChangeset for help on using the changeset viewer.