from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='core.person.viewed', message=_('The personal information of {entry.person} was viewed by {entry.created_by}'), ) registry.register( name='core.person.exported', message=_('User {entry.created_by} exported personally identifiable information'), ) registry.register( name='core.person.impersonated', message=_('User {entry.created_by} administratively impersonated {entry.person}'), ) registry.register( name='core.password.changed', message=_('User {entry.created_by} changed their password'), )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='access.cbacentry.created', message=_('A CBAC entry for {entry.person} was created by {entry.created_by}: {entry.other_fields}'), ) registry.register( name='access.cbacentry.deleted', message=_('A CBAC entry for {entry.person} was deleted by {entry.created_by}: {entry.other_fields}'), ) registry.register( name='access.cbac.denied', message=_('{entry.created_by} was denied permission by CBAC: {entry.cbac_claims}'), ) registry.register( name='access.cbac.sudo', message=_('{entry.created_by} bypassed the permissions check: {entry.cbac_claims}'), )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='directory.search.performed', message=_('User {entry.created_by} searched the {entry.organization} directory for: {entry.search_term}'), ) registry.register( name='directory.viewed', message=_('User {entry.created_by} browsed the {entry.organization} directory without a search term.'), )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='labour.signup.created', message=_('{entry.person} signed up for volunteer work in {entry.event}'), email_body_template='labour_signup_created.eml', ) registry.register( name='labour.signup.updated', message=_('{entry.person} updated their application for volunteer work in {entry.event}'), )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='core.person.viewed', message= _('The personal information of {entry.person} was viewed by {entry.created_by}' ), ) registry.register( name='core.person.exported', message=_( 'User {entry.created_by} exported personally identifiable information' ), ) registry.register( name='core.person.impersonated', message=_( 'User {entry.created_by} administratively impersonated {entry.person}' ), ) registry.register( name='core.password.changed', message=_('User {entry.created_by} changed their password'), )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='membership.membership.created', message=_('New membership application'), email_body_template='membership_application_notification.eml', )
# encoding: utf-8 from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='feedback.feedbackmessage.created', message=_( 'Feedback received from {entry.feedback_message.author_display_name}'), email_body_template='feedback_message_created.eml', email_reply_to=lambda entry: (entry.created_by.email, ) if entry.created_by else None)
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='feedback.feedbackmessage.created', message=_('Feedback received from {entry.feedback_message.author_display_name}'), email_body_template='feedback_message_created.eml', email_reply_to=lambda entry: (entry.created_by.email,) if entry.created_by else None )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='surveys.globalsurveyresult.created', message=_('New survey answer: {entry.global_survey_result.survey.title}'), email_body_template='survey_result_created.eml', ) registry.register( name='surveys.eventsurveyresult.created', message=_('New survey answer: {entry.event_survey_result.survey.title}'), email_body_template='survey_result_created.eml', )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='labour.signup.created', message=_('{entry.person} signed up for volunteer work in {entry.event}'), email_body_template='labour_signup_created.eml', ) registry.register( name='labour.signup.updated', message= _('{entry.person} updated their application for volunteer work in {entry.event}' ), )
# encoding: utf-8 from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='shoottikala.photographer.created', message=_('Photographer signed up: {entry.photographer.display_name}'), ) registry.register( name='shoottikala.cosplayer.created', message=_('Cosplayer signed up: {entry.cosplayer.display_name}'), )
from django.utils.translation import ugettext_lazy as _ from event_log import registry registry.register( name='directory.search.performed', message=_('User {entry.created_by} searched the {entry.organization} directory for: {entry.search_term}'), ) registry.register( name='directory.viewed', message=_('User {entry.created_by} browsed the {entry.organization} directory without a search term.'), )