aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-02 11:21:58 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-02 11:21:58 +0100
commit6ece0fc89fcb6ad1915769910f085c62fb957d75 (patch)
tree8d5c88d92156dd309169130881a20f9fdf381899
parentf16a8d2fd144c049e0435fd6e943ee53ed05ad22 (diff)
parent2d1f83169c803851bf2eecff662d792bb74965f1 (diff)
Merge remote-tracking branch 'origin/bromley' into bromley
-rw-r--r--templates/web/default/report/updates.html10
-rw-r--r--web/cobrands/bromley/favicon.pngbin0 -> 840 bytes
2 files changed, 7 insertions, 3 deletions
diff --git a/templates/web/default/report/updates.html b/templates/web/default/report/updates.html
index 374a7c570..7a17adbc7 100644
--- a/templates/web/default/report/updates.html
+++ b/templates/web/default/report/updates.html
@@ -12,9 +12,13 @@
[% IF update.anonymous || update.name == '' %]
[% tprintf( loc( 'Posted anonymously at %s' ), prettify_epoch( update.confirmed_local.epoch ) ) -%]
- [%- ELSIF update.user.from_council %]
- [% user_name = update.user.name | html %]
- [% tprintf( loc( 'Posted by %s (<strong>%s</strong>) at %s' ), user_name, update.user.council, prettify_epoch( update.confirmed_local.epoch ) ) -%]
+ [%- ELSIF update.user.from_council;
+ user_name = update.user.name | html;
+ council = update.user.council;
+ IF c.cobrand.moniker == 'bromley';
+ council = "$council <img src='/cobrands/bromley/favicon.png' alt=''>";
+ END %]
+ [% tprintf( loc( 'Posted by %s (<strong>%s</strong>) at %s' ), user_name, council, prettify_epoch( update.confirmed_local.epoch ) ) -%]
[%- ELSE %]
[% tprintf( loc( 'Posted by %s at %s' ), update.name, prettify_epoch( update.confirmed_local.epoch ) ) | html -%]
[%- END -%]
diff --git a/web/cobrands/bromley/favicon.png b/web/cobrands/bromley/favicon.png
new file mode 100644
index 000000000..0acd804e7
--- /dev/null
+++ b/web/cobrands/bromley/favicon.png
Binary files differ