Changeset 13434


Ignore:
Timestamp:
11 Nov 2015, 07:54:44 (9 years ago)
Author:
Henrik Bettermann
Message:

Update documentation.

Show button also on all data center pages.

Location:
main/waeup.kofa/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/docs/source/userdocs/datacenter/import_processors.rst

    r13144 r13434  
    8888  :noindex:
    8989
     90Bed Processor
     91--------------
     92
     93.. autoclass:: waeup.kofa.hostels.batching.BedProcessor()
     94  :noindex:
     95
    9096Document Processor
    9197------------------
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r13431 r13434  
    18771877            self.context.logger.info('%s - maintmode disabled' % ob_class)
    18781878            self.flash(_('Maintenance mode disabled.'))
     1879            self.redirect(self.url(self.context))
    18791880        else:
    18801881            grok.getSite()['configuration'].maintmode_enabled_by = unicode(
     
    18821883            self.context.logger.info('%s - maintmode enabled' % ob_class)
    18831884            self.flash(_('Maintenance mode enabled.'), type='warning')
    1884         self.redirect(self.url(self.context, 'import1'))
     1885            self.redirect(self.url(self.context, 'import1'))
    18851886        return
    18861887
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py

    r13431 r13434  
    631631    grok.context(IDataCenter)
    632632    grok.require('waeup.importData')
    633     grok.view(DatacenterImportStep1)
     633    #grok.view(DatacenterImportStep1)
    634634    grok.order(7)
    635635    icon = 'actionicon_stop.png'
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/batching.py

    r13432 r13434  
    8282
    8383class BedProcessor(BatchProcessor):
    84     """The Bed Procesor update beds. It does allocate students
    85     to empty beds and switches the reservation status of beds.
     84    """The Bed Procesor update beds. It allocates students
     85    to empty beds and switches the reservation status of beds. ``1``
     86    means reserved and ``0`` unreserved. Beds cannot be released
     87    by import.
    8688    """
    8789    grok.implements(IBatchProcessor)
Note: See TracChangeset for help on using the changeset viewer.