Skip to content

Commit

Permalink
[BANES] Show nearest address in list to staff.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Oct 11, 2024
1 parent f6a1d05 commit ed333b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/web/base/report/_item_small.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[% IF c.cobrand.moniker == 'bathnes' AND (c.user.from_body OR c.user.is_superuser) %]
[% problem.nearest_address.replace(', Bath and North East Somerset, West of England, England', '').replace(', United Kingdom', '') %].<br>
[% ELSE %]
<span class="visuallyhidden">
[% problem.nearest_address %]
[% problem.nearest_address %].
</span>
[% END %]

[% IF NOT no_fixed AND problem.is_fixed %]
<span class="item-list__item__state">[% prettify_state('fixed') %]</span>
Expand Down

0 comments on commit ed333b1

Please sign in to comment.