module: editor_email_template¶
edit the template to send emails, include editor for keyword substitutions
Provide tools to:
- manage list of substitution keywords
- manage values of substitution keywords
- display as read-only those substitution keywords defined for each reviewer
- provide editor for email template letter
- show example email with subsitutions applied
The email template is stored in the project file.
The substitution keyword dictionary is (at present) stored in the settings file.
-
class
Assign_GUP.editor_email_template.
Editor
(parent, agup, settings=None)[source]¶ Bases:
PyQt4.QtGui.QWidget
-
onAdd
(*args, **kw)[source]¶ add keyword substitution
Keywords are allowed to start with a letter or “_”, then can have numbers also. All letters must be uppercase.
Substitutions may be any text, including any white space.
Strings must have a minimum length of MINIMUM_KEY_LENGTH (3) characters.
-