backoffice: rename "general listing" to "Global View" (#8534)
This commit is contained in:
parent
4f421ba215
commit
d4b8bf3a76
|
@ -118,7 +118,7 @@ class ManagementDirectory(Directory):
|
|||
r += htmltext('<li><a href="statistics">%s</a></li>') % _('Global statistics')
|
||||
if get_publisher().is_using_postgresql() and \
|
||||
get_publisher().get_site_option('postgresql_views') != 'false':
|
||||
r += htmltext('<li><a href="listing">%s</a></li>') % _('General listing')
|
||||
r += htmltext('<li><a href="listing">%s</a></li>') % _('Global View')
|
||||
r += htmltext('</ul>')
|
||||
r += htmltext('</div>')
|
||||
return r.getvalue()
|
||||
|
@ -286,7 +286,7 @@ class ManagementDirectory(Directory):
|
|||
raise errors.TraversalError()
|
||||
|
||||
get_response().add_javascript(['jquery.js', 'jquery-ui.js', 'wcs.listing.js'])
|
||||
get_response().breadcrumb.append(('listing', _('List of Forms')))
|
||||
get_response().breadcrumb.append(('listing', _('Global View')))
|
||||
from wcs import sql
|
||||
html_top('management', _('Management'))
|
||||
|
||||
|
@ -361,7 +361,7 @@ class ManagementDirectory(Directory):
|
|||
|
||||
get_response().filter['sidebar'] = self.get_global_listing_sidebar()
|
||||
rt = TemplateIO(html=True)
|
||||
rt += htmltext('<h2>%s</h2>') % _('List of Forms')
|
||||
rt += htmltext('<h2>%s</h2>') % _('Global View')
|
||||
rt += r.getvalue()
|
||||
r = rt
|
||||
return rt.getvalue()
|
||||
|
|
Loading…
Reference in New Issue