Project

General

Profile

« Previous | Next » 

Revision 88b81eff

Added by Frédéric Péters over 12 years ago

fix display of date fields in user profiles (#759) (3)

View differences:

extra/modules/myspace.ptl
424 424
        if user.form_data:
425 425
            '<ul>'
426 426
            for field in user_formdef.fields:
427
                if not hasattr(field, str('get_view_value')):
428
                    continue
427 429
                value = user.form_data.get(field.id)
428 430
                '<li>'
429 431
                field.label
430 432
                ' : '
431
                value
433
                field.get_view_value(value)
432 434
                '</li>'
433 435
            '</ul>'
434 436
        else:

Also available in: Unified diff