Révision 0bd9b1fa
Ajouté par Thomas Noël il y a plus de 12 ans
extra/modules/myspace.ptl | ||
---|---|---|
432 | 432 |
if not hasattr(field, str('get_view_value')): |
433 | 433 |
continue |
434 | 434 |
value = user.form_data.get(field.id) |
435 |
'<li>' |
|
436 |
field.label |
|
437 |
' : ' |
|
438 |
field.get_view_value(value) |
|
439 |
'</li>' |
|
435 |
if value: |
|
436 |
'<li>' |
|
437 |
field.label |
|
438 |
' : ' |
|
439 |
field.get_view_value(value) |
|
440 |
'</li>' |
|
440 | 441 |
'</ul>' |
441 | 442 |
else: |
442 | 443 |
'<p>%s</p>' % _('Empty profile') |
Formats disponibles : Unified diff
don't display None values in myspace
fix #1205