diff options
author | Dave Arter <davea@mysociety.org> | 2019-11-06 14:40:10 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-12-09 12:50:07 +0000 |
commit | c85465dfb39cb219754321b63f006d0633543a0b (patch) | |
tree | 0113cb419a97d7250c9dc1e51e2720f7b7930b02 | |
parent | 9efd2981c85b3fae48118071e12058413f46a73c (diff) |
Allow cobrands to provide extra class for report list items
-rw-r--r-- | templates/web/base/report/_item.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html index 140abdbce..278011afd 100644 --- a/templates/web/base/report/_item.html +++ b/templates/web/base/report/_item.html @@ -28,6 +28,11 @@ [% END %] [% END %] +[%~ TRY ~%] + [% PROCESS 'report/_item_extra_class.html' %] +[%~ CATCH file ~%] +[%~ END ~%] + <li class="item-list__item item-list--reports__item [% item_extra_class %]" data-report-id="[% problem.id | html %]" data-lastupdate="[% problem.lastupdate %]" id="report-[% problem.id | html %]"> <a href="[% c.cobrand.relative_url_for_report( problem ) %][% problem.url %]"> |