Switch to unified view

a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
...
...
109
            pq.sort('last_updated', pymongo.DESCENDING)
109
            pq.sort('last_updated', pymongo.DESCENDING)
110
        count = pq.count()
110
        count = pq.count()
111
        projects = pq.skip(start).limit(int(limit)).all()
111
        projects = pq.skip(start).limit(int(limit)).all()
112
        categories = M.ProjectCategory.query.find({'parent_id':None}).sort('name').all()
112
        categories = M.ProjectCategory.query.find({'parent_id':None}).sort('name').all()
113
        c.custom_sidebar_menu = []
113
        c.custom_sidebar_menu = []
114
        if self.neighborhood.name == 'Projects':
114
        if h.has_access(self.neighborhood, 'register')():
115
            c.custom_sidebar_menu += [
115
            c.custom_sidebar_menu += [
116
                SitemapEntry('Add a Project', self.neighborhood.url()+'add_project', ui_icon=g.icons['plus']),
116
                SitemapEntry('Add a Project', self.neighborhood.url()+'add_project', ui_icon=g.icons['plus']),
117
                SitemapEntry('')
117
                SitemapEntry('')
118
            ]
118
            ]
119
        c.custom_sidebar_menu = c.custom_sidebar_menu + [
119
        c.custom_sidebar_menu = c.custom_sidebar_menu + [