~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=barry][ui=rs][bugs=400612] Centre and expand the search box on the
        pillar/+bugs-index page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
from canonical.launchpad.webapp.authorization import check_permission
74
74
from canonical.launchpad.webapp.tales import BugTrackerFormatterAPI
75
75
from canonical.widgets.bug import BugTagsWidget, LargeBugTagsWidget
 
76
from canonical.widgets.bugtask import NewLineToSpacesWidget
76
77
from canonical.widgets.launchpadtarget import LaunchpadTargetWidget
77
78
from canonical.launchpad.validators.name import valid_name_pattern
78
79
from canonical.launchpad.webapp.menu import structured
1225
1226
class BugTargetBugsView(BugTaskSearchListingView, FeedsMixin):
1226
1227
    """View for the Bugs front page."""
1227
1228
 
 
1229
    # We have a custom searchtext widget here so that we can set the
 
1230
    # width of the search box properly.
 
1231
    custom_widget('searchtext', NewLineToSpacesWidget, displayWidth=36)
 
1232
 
1228
1233
    # Only include <link> tags for bug feeds when using this view.
1229
1234
    feed_types = (
1230
1235
        BugFeedLink,