Changeset 10099 for main


Ignore:
Timestamp:
24 Apr 2013, 05:52:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Change navigation after data import.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/batchprocessing.txt

    r9919 r10099  
    146146We can grep the entries generated in logfile:
    147147
    148     >>> browser.getControl('View processing log').click()
     148    >>> browser.open('http://localhost/app/datacenter/logs')
     149    >>> browser.getControl('Show', index=0).click()
    149150    >>> print browser.contents
    150151    <!DOCTYPE ...
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r10029 r10099  
    14141414    label = _(u'Process CSV file')
    14151415    pnav = 0
    1416     show_button =_(u'View processing log')
    1417     back_button =_(u'Back to data center')
     1416    back_button =_(u'Process next')
    14181417
    14191418    filename = None
     
    14251424    def update(self, back=None, finish=None, showlog=None):
    14261425        if finish is not None:
    1427             self.redirect(self.url(self.context))
     1426            self.redirect(self.url(self.context, '@@import1'))
    14281427            return
    14291428        session = ISession(self.request)['waeup.kofa']
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport4page.pt

    r8529 r10099  
    1818    tal:attributes="value view/back_button" />
    1919</form>
    20 <form method="POST" i18n:domain="waeup.kofa" action="@@show">
    21   <input class="btn" type="submit" name="showlog"
    22     tal:attributes="value view/show_button" />
    23   <input type="hidden" name="logname" tal:attributes="value string:datacenter.log" />
    24 </form>
     20
Note: See TracChangeset for help on using the changeset viewer.