[% # 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 -%] [% IF NOT for_rss ~%] [% END ~%] [% rss_title | safe %] [% IF staging AND NOT for_rss %]
[% loc('This email was sent from a staging site.') %]
[% END %]
[% email_summary %]
[%~ IF file_exists("web/cobrands/${ img_dir }/images/${ logo_file }") ~%] [%~ IF for_rss ~%] [% site_name %] [%~ ELSE ~%] [% site_name %] [%~ END ~%] [%~ ELSE ~%] [% site_name %] [%~ END %]