Changeset 5870 for main/waeup.plonetheme


Ignore:
Timestamp:
17 Mar 2011, 12:24:55 (14 years ago)
Author:
Henrik Bettermann
Message:

Add 'position' field to user data.

Redesign members page.

Location:
main/waeup.plonetheme/trunk/waeup/plonetheme
Files:
5 added
12 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.plonetheme/trunk/waeup/plonetheme/__init__.py

    r5699 r5870  
    11  # -*- extra stuff goes here -*-
    2 
     2 
     3from zope.i18nmessageid import MessageFactory
     4_ = MessageFactory('waeup') 
     5 
    36def initialize(context):
    47    """Initializer called when used as a Zope 2 product."""
     8   
     9
     10   
  • main/waeup.plonetheme/trunk/waeup/plonetheme/configure.zcml

    r5699 r5870  
    44    xmlns:cmf="http://namespaces.zope.org/cmf"
    55    xmlns:i18n="http://namespaces.zope.org/i18n"
    6     i18n_domain="waeup.plonetheme">
     6    i18n_domain="waeup">
    77
    88  <five:registerPackage package="." initialize=".initialize" />
  • main/waeup.plonetheme/trunk/waeup/plonetheme/locales/de/LC_MESSAGES/waeup.po

    r5719 r5870  
    33msgstr ""
    44"Project-Id-Version: waeup.plonethemes\n"
    5 "POT-Creation-Date: 2011-02-09 09:13+0000\n"
     5"POT-Creation-Date: 2011-03-17 11:59+0000\n"
    66"PO-Revision-Date: 2011-02-07 17:26+0000\n"
    77"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
     
    1717
    1818#. Default: "About Us"
    19 #: ../profiles/default/./actions.xml
     19#: .././profiles/default/actions.xml
    2020msgid "About Us"
    2121msgstr "Über uns"
    2222
    2323#. Default: "History, Background, Philosophy"
    24 #: ../profiles/default/./actions.xml
     24#: .././profiles/default/actions.xml
    2525msgid "History, Background, Philosophy"
    2626msgstr "Geschichte, Hintergrund, Philosophie"
    2727
    2828#. Default: "Prices"
    29 #: ../profiles/default/./actions.xml
     29#: .././profiles/default/actions.xml
    3030msgid "Prices"
    3131msgstr "Preise"
    3232
    3333#. Default: "Products"
    34 #: ../profiles/default/./actions.xml
     34#: .././profiles/default/actions.xml
    3535msgid "Products"
    3636msgstr "Produkte"
    3737
    3838#. Default: "Technology, Downloads"
    39 #: ../profiles/default/./actions.xml
     39#: .././profiles/default/actions.xml
    4040msgid "Technology, Downloads"
    4141msgstr "Technologie, Downloads"
    4242
    43 #. Default: "members's homepage"
    44 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:96
     43#. Default: "Homepage"
     44#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:97
    4545msgid "author_homepage"
    46 msgstr "Hompage des Mitglieds"
     46msgstr "Hompage"
    4747
    4848#. Default: "No members found."
    49 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:129
     49#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:128
    5050msgid "description_no_results_found"
    5151msgstr "Keine Mitglieder gefunden."
    5252
    5353#. Default: "Project Members"
    54 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:20
     54#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:20
    5555msgid "heading_list_members"
    5656msgstr "Projektmitglieder"
    5757
     58#. Default: "Your WAeUP position"
     59#: .././userdataschema.py:28
     60msgid "help_position"
     61msgstr "Deine Position im WAeUP"
     62
     63#. Default: "Position"
     64#: .././userdataschema.py:27
     65msgid "label_position"
     66msgstr "Stellung"
     67
     68#. Default: "Location"
     69#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:87
     70msgid "location"
     71msgstr "Ort"
     72
    5873#. Default: "You are not allowed to list portal members."
    59 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:24
     74#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:28
    6075msgid "member_listing_not_allowed"
    6176msgstr "Das Mitgliederverzeichnis ist nicht einsehbar."
    6277
    6378#. Default: "If you are a WAeUP member but don't see your name here, login with your credentials and fill the personal data form. After saving the form, your name will be automatically listed."
    64 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:23
     79#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:23
    6580msgid "name_not_listed"
    6681msgstr "Wenn du ein WAeUP-Mitglied bist, jedoch deinen Namen hier nicht findest, logge dich bitte ein und fülle das Formular 'Meine Einstellungen' aus. Nach dem Abspeichern wird dein Name automatisch erscheinen."
    6782
    68 #. Default: "personal preferences"
    69 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:105
     83#. Default: "Personal Preferences"
     84#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:103
    7085msgid "personal_preferences"
    7186msgstr "Persönliche Einstellungen"
    7287
    73 #. Default: "send feedback"
    74 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:87
     88#. Default: "Position"
     89#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:89
     90msgid "position"
     91msgstr "Stellung"
     92
     93#. Default: "Send Feedback"
     94#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:91
    7595msgid "send_feedback"
    7696msgstr "Sende Rückmeldung"
  • main/waeup.plonetheme/trunk/waeup/plonetheme/locales/en/LC_MESSAGES/waeup.po

    r5719 r5870  
    33msgstr ""
    44"Project-Id-Version: waeup.plonethemes\n"
    5 "POT-Creation-Date: 2011-02-09 09:13+0000\n"
     5"POT-Creation-Date: 2011-03-17 11:59+0000\n"
    66"PO-Revision-Date: 2011-02-07 17:26+0000\n"
    77"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
     
    1717
    1818#. Default: "About Us"
    19 #: ../profiles/default/./actions.xml
     19#: .././profiles/default/actions.xml
    2020msgid "About Us"
    21 msgstr "About Us"
     21msgstr ""
    2222
    2323#. Default: "History, Background, Philosophy"
    24 #: ../profiles/default/./actions.xml
     24#: .././profiles/default/actions.xml
    2525msgid "History, Background, Philosophy"
    2626msgstr ""
    2727
    2828#. Default: "Prices"
    29 #: ../profiles/default/./actions.xml
     29#: .././profiles/default/actions.xml
    3030msgid "Prices"
    3131msgstr ""
    3232
    3333#. Default: "Products"
    34 #: ../profiles/default/./actions.xml
     34#: .././profiles/default/actions.xml
    3535msgid "Products"
    36 msgstr "Products"
     36msgstr ""
    3737
    3838#. Default: "Technology, Downloads"
    39 #: ../profiles/default/./actions.xml
     39#: .././profiles/default/actions.xml
    4040msgid "Technology, Downloads"
    4141msgstr ""
    4242
    43 #. Default: "members's homepage"
    44 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:96
     43#. Default: "Homepage"
     44#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:97
    4545msgid "author_homepage"
    46 msgstr "members's homepage"
     46msgstr ""
    4747
    4848#. Default: "No members found."
    49 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:129
     49#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:128
    5050msgid "description_no_results_found"
    51 msgstr "No members found."
     51msgstr ""
    5252
    5353#. Default: "Project Members"
    54 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:20
     54#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:20
    5555msgid "heading_list_members"
    56 msgstr "Project Members"
     56msgstr ""
     57
     58#. Default: "Your WAeUP position"
     59#: .././userdataschema.py:28
     60msgid "help_position"
     61msgstr ""
     62
     63#. Default: "Position"
     64#: .././userdataschema.py:27
     65msgid "label_position"
     66msgstr ""
     67
     68#. Default: "Location"
     69#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:87
     70msgid "location"
     71msgstr ""
    5772
    5873#. Default: "You are not allowed to list portal members."
    59 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:24
     74#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:28
    6075msgid "member_listing_not_allowed"
    61 msgstr "You are not allowed to list portal members."
     76msgstr ""
    6277
    6378#. Default: "If you are a WAeUP member but don't see your name here, login with your credentials and fill the personal data form. After saving the form, your name will be automatically listed."
    64 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:23
     79#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:23
    6580msgid "name_not_listed"
    6681msgstr ""
    6782
    68 #. Default: "personal preferences"
    69 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:105
     83#. Default: "Personal Preferences"
     84#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:103
    7085msgid "personal_preferences"
    71 msgstr "personal preferences"
     86msgstr ""
    7287
    73 #. Default: "send feedback"
    74 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:87
     88#. Default: "Position"
     89#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:89
     90msgid "position"
     91msgstr ""
     92
     93#. Default: "Send Feedback"
     94#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:91
    7595msgid "send_feedback"
    76 msgstr "send feedback"
     96msgstr ""
    7797
  • main/waeup.plonetheme/trunk/waeup/plonetheme/locales/fr/LC_MESSAGES/waeup.po

    r5721 r5870  
    33msgstr ""
    44"Project-Id-Version: waeup.plonethemes\n"
    5 "POT-Creation-Date: 2011-02-09 09:13+0000\n"
     5"POT-Creation-Date: 2011-03-17 11:59+0000\n"
    66"PO-Revision-Date: 2011-02-07 17:26+0000\n"
    77"Last-Translator: Issoufou Abba Moussa <isouaba@waeup.org>\n"
     
    1717
    1818#. Default: "About Us"
    19 #: ../profiles/default/./actions.xml
     19#: .././profiles/default/actions.xml
    2020msgid "About Us"
    2121msgstr "Qui sommes-nous"
    2222
    2323#. Default: "History, Background, Philosophy"
    24 #: ../profiles/default/./actions.xml
     24#: .././profiles/default/actions.xml
    2525msgid "History, Background, Philosophy"
    2626msgstr "Historique, Contexte, Philosophie"
    2727
    2828#. Default: "Prices"
    29 #: ../profiles/default/./actions.xml
     29#: .././profiles/default/actions.xml
    3030msgid "Prices"
    3131msgstr "Tarif"
    3232
    3333#. Default: "Products"
    34 #: ../profiles/default/./actions.xml
     34#: .././profiles/default/actions.xml
    3535msgid "Products"
    3636msgstr "Produits"
    3737
    3838#. Default: "Technology, Downloads"
    39 #: ../profiles/default/./actions.xml
     39#: .././profiles/default/actions.xml
    4040msgid "Technology, Downloads"
    4141msgstr "Télécharger"
    4242
    43 #. Default: "members's homepage"
    44 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:96
     43#. Default: "Homepage"
     44#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:97
     45#, fuzzy
    4546msgid "author_homepage"
    4647msgstr "page d'acceuil membre "
    4748
    4849#. Default: "No members found."
    49 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:129
     50#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:128
    5051msgid "description_no_results_found"
    5152msgstr "Aucun résultat trouvé."
    5253
    5354#. Default: "Project Members"
    54 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:20
     55#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:20
    5556msgid "heading_list_members"
    5657msgstr "Membres"
    5758
     59#. Default: "Your WAeUP position"
     60#: .././userdataschema.py:28
     61msgid "help_position"
     62msgstr ""
     63
     64#. Default: "Position"
     65#: .././userdataschema.py:27
     66msgid "label_position"
     67msgstr ""
     68
     69#. Default: "Location:"
     70#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:87
     71msgid "location"
     72msgstr ""
     73
    5874#. Default: "You are not allowed to list portal members."
    59 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:24
     75#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:28
    6076msgid "member_listing_not_allowed"
    6177msgstr "Vous n'avez pas ce privilège"
    6278
    6379#. Default: "If you are a WAeUP member but don't see your name here, login with your credentials and fill the personal data form. After saving the form, your name will be automatically listed."
    64 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:23
     80#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:23
    6581msgid "name_not_listed"
    6682msgstr "Si vous êtes membre WAeUP mais ne voyez pas votre nom ici, vous connecter avec vos identifiant et mot de passe. Après l'enregistrement du formulaire personel, votre nom sera automatiquement répertorié."
    6783
    68 #. Default: "personal preferences"
    69 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:105
     84#. Default: "Personal Preferences"
     85#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:103
     86#, fuzzy
    7087msgid "personal_preferences"
    7188msgstr "mes préférences personnelles"
    7289
    73 #. Default: "send feedback"
    74 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:87
     90#. Default: "Position:"
     91#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:89
     92msgid "position"
     93msgstr ""
     94
     95#. Default: "Send Feedback"
     96#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:91
     97#, fuzzy
    7598msgid "send_feedback"
    7699msgstr "envoyez vos commentaires"
  • main/waeup.plonetheme/trunk/waeup/plonetheme/locales/waeup.pot

    r5719 r5870  
    33msgstr ""
    44"Project-Id-Version: waeup.plonethemes\n"
    5 "POT-Creation-Date: 2011-02-09 09:13+0000\n"
     5"POT-Creation-Date: 2011-03-17 11:59+0000\n"
    66"PO-Revision-Date: 2011-02-07 17:26+0000\n"
    77"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
     
    1616"Domain: waeup\n"
    1717
    18 #. Default: "About Us"
    19 #: ../profiles/default/./actions.xml
     18#: .././profiles/default/actions.xml
    2019msgid "About Us"
    2120msgstr ""
    2221
    23 #. Default: "Products"
    24 #: ../profiles/default/./actions.xml
     22#: .././profiles/default/actions.xml
     23msgid "History, Background, Philosophy"
     24msgstr ""
     25
     26#: .././profiles/default/actions.xml
     27msgid "Prices"
     28msgstr ""
     29
     30#: .././profiles/default/actions.xml
    2531msgid "Products"
    2632msgstr ""
    2733
    28 #. Default: "Prices"
    29 #: ../profiles/default/./actions.xml
    30 msgid "Prices"
    31 msgstr ""
    32 
    33 #. Default: "History, Background, Philosophy"
    34 #: ../profiles/default/./actions.xml
    35 msgid "History, Background, Philosophy"
    36 msgstr ""
    37 
    38 #. Default: "Technology, Downloads"
    39 #: ../profiles/default/./actions.xml
     34#: .././profiles/default/actions.xml
    4035msgid "Technology, Downloads"
    4136msgstr ""
    4237
    43 #. Default: "members's homepage"
    44 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:96
     38#. Default: "Homepage"
     39#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:97
    4540msgid "author_homepage"
    4641msgstr ""
    4742
    4843#. Default: "No members found."
    49 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:129
     44#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:128
    5045msgid "description_no_results_found"
    5146msgstr ""
    5247
    5348#. Default: "Project Members"
    54 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:20
     49#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:20
    5550msgid "heading_list_members"
    5651msgstr ""
    5752
     53#. Default: "Your WAeUP position"
     54#: .././userdataschema.py:28
     55msgid "help_position"
     56msgstr ""
     57
     58#. Default: "Position"
     59#: .././userdataschema.py:27
     60msgid "label_position"
     61msgstr ""
     62
     63#. Default: "Location:"
     64#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:87
     65msgid "location"
     66msgstr ""
     67
    5868#. Default: "You are not allowed to list portal members."
    59 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:24
     69#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:28
    6070msgid "member_listing_not_allowed"
    6171msgstr ""
    6272
    63 #. Default: "personal preferences"
    64 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:105
     73#. Default: "If you are a WAeUP member but don't see your name here, login with your credentials and fill the personal data form. After saving the form, your name will be automatically listed."
     74#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:23
     75msgid "name_not_listed"
     76msgstr ""
     77
     78#. Default: "Personal Preferences"
     79#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:103
    6580msgid "personal_preferences"
    6681msgstr ""
    6782
    68 #. Default: "send feedback"
    69 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:87
     83#. Default: "Position:"
     84#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:89
     85msgid "position"
     86msgstr ""
     87
     88#. Default: "Send Feedback"
     89#: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:91
    7090msgid "send_feedback"
    7191msgstr ""
    7292
    73 #. Default: "If you are a WAeUP member but don't see your name here, login with your credentials and fill the personal data form. After saving the form, your name will be automatically listed."
    74 #: ../skins/waeup_plonetheme_custom_templates/./member_search_form.pt:23
    75 msgid "name_not_listed"
    76 msgstr ""
    77 
  • main/waeup.plonetheme/trunk/waeup/plonetheme/profiles.zcml

    r5699 r5870  
    22    xmlns="http://namespaces.zope.org/zope"
    33    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
    4     i18n_domain="waeup.plonetheme">
     4    i18n_domain="waeup">
    55
    66  <genericsetup:registerProfile
  • main/waeup.plonetheme/trunk/waeup/plonetheme/skins.zcml

    r5699 r5870  
    22    xmlns="http://namespaces.zope.org/zope"
    33    xmlns:cmf="http://namespaces.zope.org/cmf"
    4     i18n_domain="waeup.plonetheme">
     4    i18n_domain="waeup">
    55
    66  <!-- File System Directory Views registration -->
  • main/waeup.plonetheme/trunk/waeup/plonetheme/skins/waeup_plonetheme_custom_templates/member_search_form.pt

    r5719 r5870  
    5454                                    author python:pm.getMemberInfo(id) or {};
    5555                                    portrait python:pm.getPersonalPortrait(id);
     56                                    position python:result.getProperty('position');
    5657                                    home_base python:pm.getHomeUrl(id, verifyPermission=1);"
    5758                        tal:condition="python:Group[0] in result.getGroupNames() and not id.endswith('1') and (author['fullname'] or not is_anonymous)">
    5859   
    59                       <td>
     60                      <td style="width: 8%; vertical-align:top;">
    6061                      <a href="#" tal:attributes="href portrait/absolute_url">
    61                       <img src="" alt="" class="portraitPhoto" width="25" height="33"
     62                      <img src="" alt="" class="portraitPhoto"  height="80"
    6263                           style="float: left; margin: 0em;"
    6364                           tal:attributes="src portrait/absolute_url" />
     
    6566                      </td>
    6667   
    67                                    
    68                       <td>
    69                        <span tal:condition="python: is_manager">
    70                          <a href="#" tal:attributes="href string:${portal_url}/portal_memberdata/prefs_user_details?userid=${id}">
    71                            <span tal:content="id">id</span>
    72                          </a>
    73                        </span>
    74                       </td>   
    75                                                      
    76                       <td>
     68                      <td style="width: 17%; vertical-align:top;">
    7769                       <span tal:condition="python: author['fullname']">
    7870                         <span tal:content="python: author['fullname']">name</span>
     
    8173                         XXXXX
    8274                       </span>
    83                       </td>
    84    
    85                       <td>
    86                        <span tal:content="author/location|nothing">Location</span>
    87                       </td>     
    88                      
    89                       <td>
    90                        <span tal:condition="python: author['fullname'] and not is_anonymous">
    91                          <a href="#" tal:attributes="href string:${portal_url}/author/${id}"
    92                                      i18n:translate="send_feedback">
    93                            send feedback
    94                          </a>
    95                        </span>
    96                       </td>     
    97                      
    98                       <td>
    99                        <span tal:condition="python: author['fullname']">
    100                          <a href="#" tal:attributes="href string:${portal_url}/Members/${id}"
    101                                      i18n:translate="author_homepage">
    102                            members's homepage
    103                          </a>
    104                        </span>
    105                       </td>                                                           
    106                        
    107                       <td>
    108                        <span tal:condition="python: id == pm.getAuthenticatedMember().id">
    109                          <a href="#" tal:attributes="href string:${portal_url}/personalize_form"
    110                                      i18n:translate="personal_preferences">
    111                            personal preferences
     75                       <span tal:condition="python: is_manager">
     76                         <a href="#" tal:attributes="href string:${portal_url}/user-information?userid=${id}">
     77                           (<span tal:content="id">id</span>)
    11278                         </a>
    11379                       </span>
    11480                      </td>
     81
     82                      <td style="width: 57%; padding: 0em 2em 0em 0em; vertical-align:top;">
     83                       <span tal:content="author/description|nothing">Biography</span>
     84                      </td> 
     85                           
     86                      <td style="width: 18%; vertical-align:top;">
     87                       <span i18n:translate="location">Location</span>: <span tal:content="author/location|nothing">Location</span>
     88                       <br />
     89                       <span i18n:translate="position">Position</span>: <span tal:content="position">Position</span>
     90                       <div tal:condition="python: author['fullname'] and not is_anonymous">
     91                         <a href="#" tal:attributes="href string:${portal_url}/author/${id}"
     92                                     i18n:translate="send_feedback">
     93                           Send Feedback
     94                         </a>
     95                       </div>
     96                       <div tal:condition="python: author['fullname']">
     97                         <a href="#" tal:attributes="href string:${portal_url}/Members/${id}"
     98                                     i18n:translate="author_homepage">
     99                           Homepage
     100                         </a>
     101                       </div>           
     102                       <div tal:condition="python: id == pm.getAuthenticatedMember().id">
     103                         <a href="#" tal:attributes="href string:${portal_url}/personalize_form"
     104                                     i18n:translate="personal_preferences">
     105                           Personal Preferences
     106                         </a>
     107                       </div>                                 
     108                      </td>     
     109                     
    115110                   </tr>
    116111
Note: See TracChangeset for help on using the changeset viewer.