Switch to unified view

a/Allura/allura/app.py b/Allura/allura/app.py
...
...
90
                match.extend(e.children)
90
                match.extend(e.children)
91
            else:
91
            else:
92
                self.children.append(e)
92
                self.children.append(e)
93
                child_index[lbl] = e
93
                child_index[lbl] = e
94
94
95
class WidgetController(BaseController):
96
    widgets=[]
97
98
    def __init__(self, app): pass
99
100
    def portlet(self, content):
101
        return '<div class="portlet">%s</div>' % content
102
95
103
class Application(object):
96
class Application(object):
104
    """
97
    """
105
    The base Allura pluggable application
98
    The base Allura pluggable application
106
99
...
...
131
    root=None  # root controller
124
    root=None  # root controller
132
    api_root=None
125
    api_root=None
133
    permissions=[]
126
    permissions=[]
134
    sitemap = [ ]
127
    sitemap = [ ]
135
    installable=True
128
    installable=True
136
    widget = WidgetController
137
    searchable = False
129
    searchable = False
138
    DiscussionClass = model.Discussion
130
    DiscussionClass = model.Discussion
139
    PostClass = model.Post
131
    PostClass = model.Post
140
    AttachmentClass = model.DiscussionAttachment
132
    AttachmentClass = model.DiscussionAttachment
141
    tool_label='Tool'
133
    tool_label='Tool'