Skip to content

TODOs Finalizing Starflyer2 migration

mrtopf edited this page Apr 12, 2013 · 1 revision
  • mail templates now need to get retrieved from the main templates. For this we need to have a method in starflyer to get a template for a module. Right now the jinja_env is used:

    if self.config.use_html_mail:
       html = self.app.jinja_env.get_or_select_template(tmplname+".html").render(**kw)
       txt = self.app.jinja_env.get_or_select_template(tmplname+".txt").render(**kw)
       mailer.mail_html(to, subject, txt, html)
    else:
       txt = self.app.jinja_env.get_or_select_template(tmplname+".txt").render(**kw)
       mailer.mail(to, subject, txt)
    

    We might need to look at this anyway

  • all template paths need to be adapted

  • all module_template occurences have to get merged to main template folder

  • which templates and files do we actually still need? general cleanup necessary

Clone this wiki locally