aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-03-30 15:42:04 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-03-30 15:59:25 +0100
commit07f6e7ff8883c3dc4f21c2b3907adfa3a1d81e59 (patch)
treef58bf6252bde93f9d93367ea8c1ce0044a4b5b08 /templates/web
parentf4064c90d64b3a3ae6e168ff06c0202c4c1d7c50 (diff)
[fixmystreet.com] Merge different list templates.
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/fixmystreet-uk-councils/report/_item-with-pin.html6
-rw-r--r--templates/web/greenwich/reports/_list-entry.html5
-rw-r--r--templates/web/oxfordshire/reports/_list-entry.html5
3 files changed, 8 insertions, 8 deletions
diff --git a/templates/web/fixmystreet-uk-councils/report/_item-with-pin.html b/templates/web/fixmystreet-uk-councils/report/_item-with-pin.html
deleted file mode 100644
index b36dac3b6..000000000
--- a/templates/web/fixmystreet-uk-councils/report/_item-with-pin.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<li class="item-list__item item-list__item--with-pin [% c.cobrand.pin_colour(problem) %]">
- <a href="[% c.uri_for('/report', problem.id ) %]" class="[% problem.category %]">
- <h3>[% problem.title | html %]</h3>
- <p>Reported [%- prettify_dt( problem.confirmed, 1 ) %]</p>
- </a>
-</li>
diff --git a/templates/web/greenwich/reports/_list-entry.html b/templates/web/greenwich/reports/_list-entry.html
index b24ef2260..43d3d6265 100644
--- a/templates/web/greenwich/reports/_list-entry.html
+++ b/templates/web/greenwich/reports/_list-entry.html
@@ -1 +1,4 @@
-[% INCLUDE 'report/_item-with-pin.html' %]
+[% INCLUDE 'report/_item.html'
+ no_fixed = 1
+ item_extra_class = 'item-list__item--with-pin ' _ c.cobrand.pin_colour(problem)
+%]
diff --git a/templates/web/oxfordshire/reports/_list-entry.html b/templates/web/oxfordshire/reports/_list-entry.html
index b24ef2260..43d3d6265 100644
--- a/templates/web/oxfordshire/reports/_list-entry.html
+++ b/templates/web/oxfordshire/reports/_list-entry.html
@@ -1 +1,4 @@
-[% INCLUDE 'report/_item-with-pin.html' %]
+[% INCLUDE 'report/_item.html'
+ no_fixed = 1
+ item_extra_class = 'item-list__item--with-pin ' _ c.cobrand.pin_colour(problem)
+%]