Ignore:
Timestamp:
25 Jun 2007, 19:30:01 (18 years ago)
Author:
Henrik Bettermann
Message:

correct spelling of first, middle, last and full name

Location:
WAeUP_SRP/trunk/skins/waeup_directory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_directory/search_members.py

    r1955 r1958  
    3030
    3131#mapping['homeless'] = True
    32 result_fields = context.getDirectoryResultFields(dir.getId(),
    33                                                  dir.title_field)
    34 ##result_fields = [{'id': 'sn', 'title': 'label_last_name', 'sort': 'asc'},
    35 ##                  {'id': 'givenName', 'title': 'label_first_name'},
    36 ##                  {'id': 'email', 'title': 'label_email'},
    37 ##                  {'id': id_field, 'title': 'label_user_name'},
    38 ##                  ]
     32#result_fields = context.getDirectoryResultFields(dir.getId(),
     33#                                                 dir.title_field)
     34result_fields = [{'id': 'sn', 'title': 'Last name', 'sort': 'asc'},
     35                  {'id': 'givenName', 'title': 'First name'},
     36                  {'id': 'email', 'title': 'Email address'},
     37                  {'id': id_field, 'title': 'User name'},
     38                  ]
    3939if dir.getId() == "members":
    4040    result_fields.append({'id': 'groups', 'title': 'Group(s)'})
     
    102102    if "groups" in return_fields:
    103103        item[1]['groups'] = " ".join(item[1]['groups'])
    104        
     104
    105105rendered = dir.search_members_results(results=results,result_fields=result_fields)
    106106
  • WAeUP_SRP/trunk/skins/waeup_directory/search_members_results.pt

    r1899 r1958  
    2525            <th i18n:translate="" tal:content="field/title">id</th>
    2626          </tal:block>
    27         <th>Roles In</th>
     27        <th>Roles in</th>
    2828        </tr>
    2929        <tal:block repeat="result python:batch_list[0]">
Note: See TracChangeset for help on using the changeset viewer.