organizatori | admin | zobrazeni bezejmennych orgu
This commit is contained in:
parent
e2edab52f8
commit
bc3cbf1c41
1 changed files with 3 additions and 0 deletions
|
@ -352,6 +352,9 @@ def jmeno_organizatora(obj):
|
|||
if obj.prezdivka:
|
||||
jmeno = jmeno + ' "' + obj.prezdivka + '"'
|
||||
jmeno = jmeno + ' ' + obj.user.last_name
|
||||
print jmeno
|
||||
if jmeno == ' ': # zobrazeni bezejmennych orgu
|
||||
return 'org'
|
||||
return jmeno
|
||||
jmeno_organizatora.short_description = 'Jméno organizátora'
|
||||
|
||||
|
|
Loading…
Reference in a new issue