~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/person.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:
1868
1868
    in a single table.
1869
1869
    """
1870
1870
 
 
1871
    page_title = 'Blueprint workload'
 
1872
 
1871
1873
    class PersonSpec:
1872
1874
        """One record from the workload list."""
1873
1875
 
5085
5087
        return 'Projects for which %s is an answer contact' % (
5086
5088
            self.context.displayname)
5087
5089
 
 
5090
    page_title = label
 
5091
 
5088
5092
    @cachedproperty
5089
5093
    def direct_question_targets(self):
5090
5094
        """List of targets that the IPerson is a direct answer contact.
5927
5931
        return throttle_date + interval
5928
5932
 
5929
5933
    @property
5930
 
    def specific_contact_title_text(self):
 
5934
    def page_title(self):
5931
5935
        """Return the appropriate pagetitle."""
5932
5936
        if self.context.is_team:
5933
5937
            if self.user.inTeam(self.context):