comparison MoinMoin/action/subscribe.py @ 3333:928a45b60bb3

remove remaining mentions of "UserPreferences", add to CHANGES
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 19 Mar 2008 12:45:14 +0100
parents a1322262398a
children c9f5e4f9a76e
comparison
equal deleted inserted replaced
3332:38e3fa4726f6 3333:928a45b60bb3
24 elif not request.user.valid: 24 elif not request.user.valid:
25 request.theme.add_msg(_("You must log in to use subscriptions."), "error") 25 request.theme.add_msg(_("You must log in to use subscriptions."), "error")
26 26
27 # Suggest users without email to add their email address 27 # Suggest users without email to add their email address
28 elif not request.user.email and not request.user.jid: 28 elif not request.user.email and not request.user.jid:
29 request.theme.add_msg(_("Add your email address or Jabber ID in your UserPreferences to use subscriptions.", 29 request.theme.add_msg(_("Add your email address or Jabber ID in your user settings to use subscriptions."),
30 wiki=True), "error") 30 "error")
31 31
32 elif request.user.isSubscribedTo([pagename]): 32 elif request.user.isSubscribedTo([pagename]):
33 request.theme.add_msg(_('You are already subscribed to this page.')) 33 request.theme.add_msg(_('You are already subscribed to this page.'))
34 else: 34 else:
35 # Try to subscribe 35 # Try to subscribe