0001-backoffice-rename-general-listing-to-Global-View-853.patch
wcs/backoffice/management.py | ||
---|---|---|
118 | 118 |
r += htmltext('<li><a href="statistics">%s</a></li>') % _('Global statistics') |
119 | 119 |
if get_publisher().is_using_postgresql() and \ |
120 | 120 |
get_publisher().get_site_option('postgresql_views') != 'false': |
121 |
r += htmltext('<li><a href="listing">%s</a></li>') % _('General listing')
|
|
121 |
r += htmltext('<li><a href="listing">%s</a></li>') % _('Global View')
|
|
122 | 122 |
r += htmltext('</ul>') |
123 | 123 |
r += htmltext('</div>') |
124 | 124 |
return r.getvalue() |
... | ... | |
286 | 286 |
raise errors.TraversalError() |
287 | 287 | |
288 | 288 |
get_response().add_javascript(['jquery.js', 'jquery-ui.js', 'wcs.listing.js']) |
289 |
get_response().breadcrumb.append(('listing', _('List of Forms')))
|
|
289 |
get_response().breadcrumb.append(('listing', _('Global View')))
|
|
290 | 290 |
from wcs import sql |
291 | 291 |
html_top('management', _('Management')) |
292 | 292 | |
... | ... | |
361 | 361 | |
362 | 362 |
get_response().filter['sidebar'] = self.get_global_listing_sidebar() |
363 | 363 |
rt = TemplateIO(html=True) |
364 |
rt += htmltext('<h2>%s</h2>') % _('List of Forms')
|
|
364 |
rt += htmltext('<h2>%s</h2>') % _('Global View')
|
|
365 | 365 |
rt += r.getvalue() |
366 | 366 |
r = rt |
367 | 367 |
return rt.getvalue() |
368 |
- |