~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/root.py

  • Committer: Curtis Hovey
  • Date: 2011-09-18 17:48:29 UTC
  • mto: This revision was merged to the branch mainline in revision 13998.
  • Revision ID: curtis.hovey@canonical.com-20110918174829-89fg9kq5mnkaejvf
Moved launchpad root page_title into view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
import time
14
14
 
15
15
import feedparser
16
 
from lazr.batchnavigator import ListRangeFactory
17
16
from lazr.batchnavigator.z3batching import batch
18
17
from zope.component import getUtility
19
18
from zope.interface import Interface
61
60
class LaunchpadRootIndexView(HasAnnouncementsView, LaunchpadView):
62
61
    """An view for the default view of the LaunchpadRoot."""
63
62
 
 
63
    page_title = 'Launchpad'
64
64
    featured_projects = []
65
65
    featured_projects_top = None
66
66
 
591
591
        results = WindowedList(results, start, results.total)
592
592
        super(GoogleBatchNavigator, self).__init__(results, request,
593
593
            start=start, size=size, callback=callback,
594
 
            transient_parameters=transient_parameters, force_start=force_start,
595
 
            range_factory=range_factory)
 
594
            transient_parameters=transient_parameters,
 
595
            force_start=force_start, range_factory=range_factory)
596
596
 
597
597
    def determineSize(self, size, batch_params_source):
598
598
        # Force the default and users requested sizes to 20.