Switch to unified view

a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
...
...
39
from allura.model.session import main_orm_session
39
from allura.model.session import main_orm_session
40
40
41
log = logging.getLogger(__name__)
41
log = logging.getLogger(__name__)
42
42
43
class W:
43
class W:
44
    markdown_editor = ffw.MarkdownEdit()
44
    resize_editor = ffw.AutoResizeTextarea()
45
    project_summary = plw.ProjectSummary()
45
    project_summary = plw.ProjectSummary()
46
    add_project = forms.NeighborhoodAddProjectForm(antispam=True)
46
    add_project = forms.NeighborhoodAddProjectForm(antispam=True)
47
    page_list = ffw.PageList()
47
    page_list = ffw.PageList()
48
    page_size = ffw.PageSize()
48
    page_size = ffw.PageSize()
49
49
...
...
403
403
404
    @without_trailing_slash
404
    @without_trailing_slash
405
    @expose('jinja:allura:templates/neighborhood_admin_overview.html')
405
    @expose('jinja:allura:templates/neighborhood_admin_overview.html')
406
    def overview(self):
406
    def overview(self):
407
        self.set_nav()
407
        self.set_nav()
408
        c.markdown_editor = W.markdown_editor
408
        c.resize_editor = W.resize_editor
409
        return dict(neighborhood=self.neighborhood)
409
        return dict(neighborhood=self.neighborhood)
410
410
411
    @without_trailing_slash
411
    @without_trailing_slash
412
    @expose('jinja:allura:templates/neighborhood_admin_permissions.html')
412
    @expose('jinja:allura:templates/neighborhood_admin_permissions.html')
413
    def permissions(self):
413
    def permissions(self):