fixed issue 433

This commit is contained in:
mdipierro
2012-08-07 12:12:43 -05:00
parent 686ff2bfeb
commit 176bf74d49
2 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-07 11:31:08) dev
Version 2.00.0 (2012-08-07 12:12:40) dev
+11 -7
View File
@@ -2141,14 +2141,18 @@ class SQLFORM(FORM):
else: name = format % record
except TypeError:
name = id
breadcrumbs += [LI(A(T(db[referee]._plural),
_class=trap_class(),
_href=URL(args=request.args[:nargs])),
SPAN(divider,_class='divider')),
LI(A(name,_class=trap_class(),
_href=URL(args=request.args[:nargs]+[
nameLink = 'view'
breadcrumbs.append(
LI(A(T(db[referee]._plural),
_class=trap_class(),
_href=URL(args=request.args[:nargs])),
SPAN(divider,_class='divider')))
if kwargs.get('details',True):
breadcrumbs.append(
LI(A(name,_class=trap_class(),
_href=URL(args=request.args[:nargs]+[
'view',referee,id],user_signature=True)),
SPAN(divider,_class='divider'))]
SPAN(divider,_class='divider')))
nargs+=2
else:
break