Index: calendar.py =================================================================== --- calendar.py (revision 527) +++ calendar.py (working copy) @@ -393,6 +393,9 @@ id = int(id) calendar = model.db.get_calendar_by_id(id) + + c.users_pictures = model.db.get_pictures_of_user(c.current_user.id) + if not c.current_user.can_edit_calendar(calendar): log.error('%s tried to edit calendar %d', self.user_login, id) self.add_info(_(u'You do not have rights to edit calendar %s') % str(id)) @@ -896,6 +899,9 @@ For now, only the first step before actually creating the calendar will be implemented (ticket 170).""" + + c.users_pictures = model.db.get_pictures_of_user(c.current_user.id) + return render('calendar_wizard') @require_published