web/views/massmailing.py
branchtls-sprint
changeset 1467 972517be96dc
parent 1466 07a2d0c387ca
child 1684 22486268ff94
equal deleted inserted replaced
1466:07a2d0c387ca 1467:972517be96dc
    40 
    40 
    41     sender = StringField(widget=TextInput({'disabled': 'disabled'}), label=_('From:'))
    41     sender = StringField(widget=TextInput({'disabled': 'disabled'}), label=_('From:'))
    42     recipient = StringField(widget=CheckBox(), label=_('Recipients:'))
    42     recipient = StringField(widget=CheckBox(), label=_('Recipients:'))
    43     subject = StringField(label=_('Subject:'))
    43     subject = StringField(label=_('Subject:'))
    44     mailbody = StringField(widget=AjaxWidget(wdgtype='TemplateTextField',
    44     mailbody = StringField(widget=AjaxWidget(wdgtype='TemplateTextField',
    45                                              inputid='mailarea'))
    45                                              inputid='mailbody'))
    46     form_buttons = [ImgButton('sendbutton', "javascript: $('#sendmail').submit()",
    46     form_buttons = [ImgButton('sendbutton', "javascript: $('#sendmail').submit()",
    47                               _('send email'), 'SEND_EMAIL_ICON'),
    47                               _('send email'), 'SEND_EMAIL_ICON'),
    48                     ImgButton('cancelbutton', "javascript: history.back()",
    48                     ImgButton('cancelbutton', "javascript: history.back()",
    49                               stdmsgs.BUTTON_CANCEL, 'CANCEL_EMAIL_ICON')]
    49                               stdmsgs.BUTTON_CANCEL, 'CANCEL_EMAIL_ICON')]
    50 
    50