Changeset 5873
- Timestamp:
- 18 Mar 2011, 06:50:02 (14 years ago)
- Location:
- main/waeup.plonetheme/trunk/waeup/plonetheme
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.plonetheme/trunk/waeup/plonetheme/adapter.py
r5871 r5873 15 15 position = property(get_position, set_position) 16 16 17 def get_company(self): 18 return self.context.getProperty('company', '') 19 def set_company(self, value): 20 membership = getToolByName(self.context, 'portal_membership') 21 return self.context.setMemberProperties({'company': value}) 22 company = property(get_company, set_company) 17 23 18 24 -
main/waeup.plonetheme/trunk/waeup/plonetheme/locales/de/LC_MESSAGES/waeup.po
r5871 r5873 3 3 msgstr "" 4 4 "Project-Id-Version: waeup.plonethemes\n" 5 "POT-Creation-Date: 2011-03-1 7 11:59+0000\n"5 "POT-Creation-Date: 2011-03-18 06:33+0000\n" 6 6 "PO-Revision-Date: 2011-02-07 17:26+0000\n" 7 7 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 42 42 43 43 #. Default: "Homepage" 44 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 744 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:98 45 45 msgid "author_homepage" 46 46 msgstr "Hompage" 47 47 48 #. Default: "Company" 49 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:86 50 msgid "company" 51 msgstr "Firma" 52 48 53 #. Default: "No members found." 49 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:12 854 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:124 50 55 msgid "description_no_results_found" 51 56 msgstr "Keine Mitglieder gefunden." 52 57 53 58 #. Default: "Project Members" 54 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 059 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:22 55 60 msgid "heading_list_members" 56 61 msgstr "Projektmitglieder" 62 63 #. Default: "The company you are working for" 64 #: .././userdataschema.py:34 65 msgid "help_company" 66 msgstr "Die Firma, für die du arbeitest" 57 67 58 68 #. Default: "Your WAeUP position (write-protected)" … … 60 70 msgid "help_position" 61 71 msgstr "Deine Position im WAeUP (schreibgeschützt)" 72 73 #. Default: "Company" 74 #: .././userdataschema.py:33 75 msgid "label_company" 76 msgstr "Firma" 62 77 63 78 #. Default: "Position" … … 67 82 68 83 #. Default: "Location" 69 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:8 784 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:88 70 85 msgid "location" 71 86 msgstr "Ort" 72 87 73 88 #. Default: "You are not allowed to list portal members." 74 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 2889 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:30 75 90 msgid "member_listing_not_allowed" 76 91 msgstr "Das Mitgliederverzeichnis ist nicht einsehbar." 77 92 78 93 #. 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." 79 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 394 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:25 80 95 msgid "name_not_listed" 81 96 msgstr "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." 82 97 83 98 #. Default: "Personal Preferences" 84 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:10 399 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:104 85 100 msgid "personal_preferences" 86 101 msgstr "Persönliche Einstellungen" 87 102 88 103 #. Default: "Position" 89 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 89104 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:90 90 105 msgid "position" 91 106 msgstr "Stellung" 92 107 93 108 #. Default: "Send Feedback" 94 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 1109 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:92 95 110 msgid "send_feedback" 96 111 msgstr "Sende Rückmeldung" -
main/waeup.plonetheme/trunk/waeup/plonetheme/locales/en/LC_MESSAGES/waeup.po
r5871 r5873 3 3 msgstr "" 4 4 "Project-Id-Version: waeup.plonethemes\n" 5 "POT-Creation-Date: 2011-03-1 7 11:59+0000\n"5 "POT-Creation-Date: 2011-03-18 06:33+0000\n" 6 6 "PO-Revision-Date: 2011-02-07 17:26+0000\n" 7 7 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 42 42 43 43 #. Default: "Homepage" 44 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 744 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:98 45 45 msgid "author_homepage" 46 46 msgstr "" 47 47 48 #. Default: "Company" 49 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:86 50 msgid "company" 51 msgstr "" 52 48 53 #. Default: "No members found." 49 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:12 854 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:124 50 55 msgid "description_no_results_found" 51 56 msgstr "" 52 57 53 58 #. Default: "Project Members" 54 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 059 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:22 55 60 msgid "heading_list_members" 61 msgstr "" 62 63 #. Default: "The company you are working for" 64 #: .././userdataschema.py:34 65 msgid "help_company" 56 66 msgstr "" 57 67 … … 59 69 #: .././userdataschema.py:28 60 70 msgid "help_position" 71 msgstr "" 72 73 #. Default: "Company" 74 #: .././userdataschema.py:33 75 msgid "label_company" 61 76 msgstr "" 62 77 … … 67 82 68 83 #. Default: "Location" 69 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:8 784 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:88 70 85 msgid "location" 71 86 msgstr "" 72 87 73 88 #. Default: "You are not allowed to list portal members." 74 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 2889 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:30 75 90 msgid "member_listing_not_allowed" 76 91 msgstr "" 77 92 78 93 #. 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." 79 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 394 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:25 80 95 msgid "name_not_listed" 81 96 msgstr "" 82 97 83 98 #. Default: "Personal Preferences" 84 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:10 399 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:104 85 100 msgid "personal_preferences" 86 101 msgstr "" 87 102 88 103 #. Default: "Position" 89 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 89104 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:90 90 105 msgid "position" 91 106 msgstr "" 92 107 93 108 #. Default: "Send Feedback" 94 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 1109 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:92 95 110 msgid "send_feedback" 96 111 msgstr "" -
main/waeup.plonetheme/trunk/waeup/plonetheme/locales/fr/LC_MESSAGES/waeup.po
r5871 r5873 3 3 msgstr "" 4 4 "Project-Id-Version: waeup.plonethemes\n" 5 "POT-Creation-Date: 2011-03-1 7 11:59+0000\n"5 "POT-Creation-Date: 2011-03-18 06:33+0000\n" 6 6 "PO-Revision-Date: 2011-02-07 17:26+0000\n" 7 7 "Last-Translator: Issoufou Abba Moussa <isouaba@waeup.org>\n" … … 42 42 43 43 #. Default: "Homepage" 44 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 744 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:98 45 45 #, fuzzy 46 46 msgid "author_homepage" 47 47 msgstr "page d'acceuil membre " 48 48 49 #. Default: "Company" 50 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:86 51 msgid "company" 52 msgstr "" 53 49 54 #. Default: "No members found." 50 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:12 855 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:124 51 56 msgid "description_no_results_found" 52 57 msgstr "Aucun résultat trouvé." 53 58 54 59 #. Default: "Project Members" 55 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 060 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:22 56 61 msgid "heading_list_members" 57 62 msgstr "Membres" 63 64 #. Default: "The company you are working for" 65 #: .././userdataschema.py:34 66 msgid "help_company" 67 msgstr "" 58 68 59 69 #. Default: "Your WAeUP position (write-protected)" 60 70 #: .././userdataschema.py:28 61 71 msgid "help_position" 72 msgstr "" 73 74 #. Default: "Company" 75 #: .././userdataschema.py:33 76 msgid "label_company" 62 77 msgstr "" 63 78 … … 68 83 69 84 #. Default: "Location" 70 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:8 785 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:88 71 86 msgid "location" 72 87 msgstr "" 73 88 74 89 #. Default: "You are not allowed to list portal members." 75 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 2890 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:30 76 91 msgid "member_listing_not_allowed" 77 92 msgstr "Vous n'avez pas ce privilège" 78 93 79 94 #. 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." 80 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 395 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:25 81 96 msgid "name_not_listed" 82 97 msgstr "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é." 83 98 84 99 #. Default: "Personal Preferences" 85 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:10 3100 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:104 86 101 #, fuzzy 87 102 msgid "personal_preferences" … … 89 104 90 105 #. Default: "Position" 91 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 89106 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:90 92 107 msgid "position" 93 108 msgstr "" 94 109 95 110 #. Default: "Send Feedback" 96 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 1111 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:92 97 112 #, fuzzy 98 113 msgid "send_feedback" -
main/waeup.plonetheme/trunk/waeup/plonetheme/locales/waeup.pot
r5871 r5873 3 3 msgstr "" 4 4 "Project-Id-Version: waeup.plonethemes\n" 5 "POT-Creation-Date: 2011-03-1 7 11:59+0000\n"5 "POT-Creation-Date: 2011-03-18 06:33+0000\n" 6 6 "PO-Revision-Date: 2011-02-07 17:26+0000\n" 7 7 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 37 37 38 38 #. Default: "Homepage" 39 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 739 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:98 40 40 msgid "author_homepage" 41 41 msgstr "" 42 42 43 #. Default: "Company" 44 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:86 45 msgid "company" 46 msgstr "" 47 43 48 #. Default: "No members found." 44 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:12 849 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:124 45 50 msgid "description_no_results_found" 46 51 msgstr "" 47 52 48 53 #. Default: "Project Members" 49 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:2 054 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:22 50 55 msgid "heading_list_members" 56 msgstr "" 57 58 #. Default: "The company you are working for" 59 #: .././userdataschema.py:34 60 msgid "help_company" 51 61 msgstr "" 52 62 … … 54 64 #: .././userdataschema.py:28 55 65 msgid "help_position" 66 msgstr "" 67 68 #. Default: "Company" 69 #: .././userdataschema.py:33 70 msgid "label_company" 56 71 msgstr "" 57 72 … … 62 77 63 78 #. Default: "Location" 64 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:8 779 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:88 65 80 msgid "location" 66 81 msgstr "" 67 82 68 83 #. Default: "You are not allowed to list portal members." 69 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 2884 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:30 70 85 msgid "member_listing_not_allowed" 71 86 msgstr "" 72 87 73 88 #. 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:2 389 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:25 75 90 msgid "name_not_listed" 76 91 msgstr "" 77 92 78 93 #. Default: "Personal Preferences" 79 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:10 394 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:104 80 95 msgid "personal_preferences" 81 96 msgstr "" 82 97 83 98 #. Default: "Position" 84 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt: 8999 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:90 85 100 msgid "position" 86 101 msgstr "" 87 102 88 103 #. Default: "Send Feedback" 89 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:9 1104 #: .././skins/waeup_plonetheme_custom_templates/member_search_form.pt:92 90 105 msgid "send_feedback" 91 106 msgstr "" -
main/waeup.plonetheme/trunk/waeup/plonetheme/profiles/default/memberdata_properties.xml
r5870 r5873 2 2 <object name="portal_memberdata" meta_type="Plone Memberdata Tool"> 3 3 <property name="position" type="string"></property> 4 <property name="company" type="string"></property> 4 5 </object> -
main/waeup.plonetheme/trunk/waeup/plonetheme/skins/waeup_plonetheme_custom_templates/member_search_form.pt
r5871 r5873 54 54 portrait python:pm.getPersonalPortrait(id); 55 55 position python:result.getProperty('position'); 56 company python:result.getProperty('company'); 56 57 home_base python:pm.getHomeUrl(id, verifyPermission=1);" 57 58 tal:condition="python:Group[0] in result.getGroupNames() and not id.endswith('1') and (author['fullname'] or not is_anonymous)"> … … 84 85 85 86 <td style="width: 22%; vertical-align:top;"> 87 <span i18n:translate="company">Company</span>: <span tal:content="company|nothing">Company</span> 88 <br /> 86 89 <span i18n:translate="location">Location</span>: <span tal:content="author/location|nothing">Location</span> 87 90 <br /> -
main/waeup.plonetheme/trunk/waeup/plonetheme/userdataschema.py
r5872 r5873 29 29 default=u"Your WAeUP position (write-protected)"), 30 30 required=False) 31 32 company = schema.TextLine( 33 title=_(u'label_company', default=u'Company'), 34 description=_(u'help_company', 35 default=u"The company you are working for"), 36 required=False) 31 37
Note: See TracChangeset for help on using the changeset viewer.