[% # The cobrand might come to us a variety of ways # Alert sets cobrand directly, questionnaire/submit have it in report, otherwise web cobrand = cobrand.moniker OR report.cobrand OR c.cobrand.moniker; IF cobrand == 'fixmystreet'; SET img_dir = 'fixmystreet.com'; ELSE; SET img_dir = cobrand; END -%]
[% email_summary %]
[%~ IF file_exists("web/cobrands/${ img_dir }/images/${ logo_file }") ~%] [% site_name %] [%~ ELSE ~%] [% site_name %] [%~ END %]