grid breadcrumbs uses field.label, not field.name, thanks Michael Beller
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.4.1-alpha.2+timestamp.2013.02.04.15.11.29
|
||||
Version 2.4.1-alpha.2+timestamp.2013.02.04.16.44.47
|
||||
|
||||
+1
-1
@@ -2552,7 +2552,7 @@ class SQLFORM(FORM):
|
||||
links_in_grid=links_in_grid,
|
||||
user_signature=user_signature, **kwargs)
|
||||
if isinstance(grid, DIV):
|
||||
header = table._plural + (field and ' for ' + field.name or '')
|
||||
header = table._plural + (field and ' for ' + field.label or '')
|
||||
breadcrumbs.append(LI(A(T(header), _class=trap_class(),
|
||||
_href=url()), _class='active w2p_grid_breadcrumb_elem'))
|
||||
grid.insert(
|
||||
|
||||
Reference in New Issue
Block a user