Switch to unified view

a/Allura/allura/app.py b/Allura/allura/app.py
...
...
239
        :return: a list of :class:`SitemapEntries <allura.app.SitemapEntry>`
239
        :return: a list of :class:`SitemapEntries <allura.app.SitemapEntry>`
240
        """
240
        """
241
        admin_url = c.project.url()+'admin/'+self.config.options.mount_point+'/'
241
        admin_url = c.project.url()+'admin/'+self.config.options.mount_point+'/'
242
        links = []
242
        links = []
243
        if self.permissions and has_access(c.project, 'admin')():
243
        if self.permissions and has_access(c.project, 'admin')():
244
            links.append(SitemapEntry('Permissions', admin_url + 'permissions', className='nav_child'))
244
            links.append(SitemapEntry('Permissions', admin_url + 'permissions'))
245
        if force_options or len(self.config_options) > 3:
245
        if force_options or len(self.config_options) > 3:
246
            links.append(SitemapEntry('Options', admin_url + 'options', className='admin_modal'))
246
            links.append(SitemapEntry('Options', admin_url + 'options', className='admin_modal'))
247
        links.append(SitemapEntry('Label', admin_url + 'edit_label', className='admin_modal'))
247
        links.append(SitemapEntry('Label', admin_url + 'edit_label', className='admin_modal'))
248
        return links
248
        return links
249
249