Skip to content
Snippets Groups Projects
  1. Sep 21, 2020
  2. May 12, 2020
  3. Apr 23, 2020
  4. Apr 22, 2020
  5. Apr 20, 2020
    • Bo-Chun Chen's avatar
      Use jinja2 template engine for email body · f87d4187
      Bo-Chun Chen authored
      mail.py:
        define variable related to email
        `body` is the template we will use in agent
      
        for variables that are pre-defined in the same file,
            use single curly bracket for it.
        e.g. {info_url}
      
        for `username` or other variables that are undefined until msg is received,
        use four curly brackets for both open and close
        e.g. {{{{ username }}}}
      f87d4187
  6. Apr 16, 2020
Loading