aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2015-07-24 14:32:09 +0100
committerDave Arter <davea@mysociety.org>2015-07-24 14:32:09 +0100
commit7842b439b87287db8d74048829e6bb57f7b009ec (patch)
tree3c7d76e6789c5b1799ac56bca6600df5c5bf4cd0
parent6e397b202967e56bd4b983b8ea231dbcac846100 (diff)
Allow cobrands to add sharing buttons to report pages
Cobrands can optionally provide a `report/sharing.html` template to display extra content just above the updates on a report detail page.
-rw-r--r--templates/web/fixmystreet/report/display.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/web/fixmystreet/report/display.html b/templates/web/fixmystreet/report/display.html
index 91762e022..0006241c3 100644
--- a/templates/web/fixmystreet/report/display.html
+++ b/templates/web/fixmystreet/report/display.html
@@ -72,6 +72,7 @@
</div>
+[% TRY %][% INCLUDE 'report/sharing.html' %][% CATCH file %][% END %]
[% INCLUDE 'report/updates.html' %]
[% INCLUDE 'report/update-form.html' %]
[% INCLUDE 'footer.html' %]