~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/blueprints/browser/sprint.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-20 13:01:44 UTC
  • mfrom: (13980.3.33 page-title-0)
  • Revision ID: launchpad@pqm.canonical.com-20110920130144-y6hc061u53bbokux
[rs=sinzui][bug=853919] Move page_titles into views.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
__metaclass__ = type
7
7
__all__ = [
 
8
    'HasSprintsView',
8
9
    'SprintAddView',
9
10
    'SprintAttendeesCsvExportView',
10
11
    'SprintBrandingView',
164
165
    enable_only = ['overview', ]
165
166
 
166
167
 
 
168
class HasSprintsView(LaunchpadView):
 
169
 
 
170
    page_title = 'Events'
 
171
 
 
172
 
167
173
class SprintView(HasSpecificationsView):
168
174
 
169
175
    implements(IMajorHeadingView)
477
483
                model_specs, ['specificationID']):
478
484
            if subscription.personID not in attendee_set:
479
485
                continue
480
 
            people[subscription.specificationID][subscription.personID] = \
481
 
                subscription.essential
 
486
            people[subscription.specificationID][
 
487
                subscription.personID] = subscription.essential
482
488
 
483
489
        # Spec specials - drafter/assignee.  Don't need approver for
484
490
        # performance, as specifications() above eager-loaded the