~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/buglinktarget.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-04 15:22:19 UTC
  • mfrom: (14433.2.59 page-titles-1)
  • Revision ID: launchpad@pqm.canonical.com-20111204152219-wa281ydo0lryqzyr
[rs=sizui][bug=426532] Moved page_titles into views. Removed
 c.l.pagetitles and tales formatter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
    label = _('Link a bug report')
52
52
    schema = IBugLinkForm
 
53
    page_title = label
53
54
 
54
55
    focused_element_id = 'bug'
55
56
 
73
74
            # XXX flacoste 2006-08-23 bug=57470: This should use proper _().
74
75
            self.setFieldError(
75
76
                'bug',
76
 
                'You are not allowed to link to private bug #%d.'% bug.id)
 
77
                'You are not allowed to link to private bug #%d.' % bug.id)
77
78
            return
78
79
        bug_props = {'bugid': bug.id, 'title': bug.title}
79
80
        response.addNotification(
130
131
    label = _('Remove links to bug reports')
131
132
    schema = IUnlinkBugsForm
132
133
    custom_widget('bugs', LabeledMultiCheckBoxWidget)
 
134
    page_title = label
133
135
 
134
136
    @property
135
137
    def cancel_url(self):