~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/browser/codeimportmachine.py

  • Committer: Francis J. Lacoste
  • Date: 2011-12-06 20:10:56 UTC
  • mfrom: (14448 devel)
  • mto: This revision was merged to the branch mainline in revision 14474.
  • Revision ID: francis.lacoste@canonical.com-20111206201056-jk8q5euywtd4vqk7
Merge devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    """The view for the page that shows all the import machines."""
66
66
 
67
67
    label = "Import machines for Launchpad"
 
68
    page_title = label
68
69
 
69
70
    @property
70
71
    def machines(self):
103
104
    initial_values = {'reason': ''}
104
105
 
105
106
    @property
 
107
    def page_title(self):
 
108
        return 'Code Import machine "%s"' % self.context.hostname
 
109
 
 
110
    @property
106
111
    def latest_events(self):
107
112
        """The ten most recent events for the machine."""
108
113
        return [DecoratedEvent(event) for event in self.context.events[:10]]