[%
# There are cases (eg: when sending email about an update on a problem)
# where `object` might not be a report. So in those cases, you can pass
# in a `report` argument, which should be the report the email is about.
# Otherwise, we assume the `object` you passed is a report.
DEFAULT report = object;
# There are cases (eg: when confirming a not-yet-published report) where
# you will want the map image to link to somewhere other than the report
# page. So in those cases, you can pass in a custom `url` argument.
DEFAULT url = cobrand.base_url_for_report(report) _ report.url
~%]
[% IF url %]
[% END %]
[% start_padded_box | safe %]
[%~ IF object.photo %]
[%~ END %]
[%~ content | safe %]
[% end_padded_box | safe %]