Skip to content

Commit

Permalink
Add visually-hidden nearest address in report list
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Feb 8, 2023
1 parent 1156376 commit c4f1a28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/web/base/report/_item_small.html
@@ -1,3 +1,7 @@
<span class="visuallyhidden">
[% problem.nearest_address %]
</span>

[% IF NOT no_fixed AND problem.is_fixed %]
<span class="item-list__item__state">[% prettify_state('fixed') %]</span>
[% ELSIF NOT no_fixed AND problem.is_closed %]
Expand All @@ -22,6 +26,7 @@
[% tprintf(loc('last updated %s'), prettify_dt( problem.lastupdate, 1 ) ) %]
[%- END %]
[%- END %]

[% IF include_sentinfo %]
[% IF c.cobrand.is_council && !c.cobrand.owns_problem( problem ) %]
(sent to [% problem.body %])
Expand All @@ -30,6 +35,7 @@
[% ELSIF problem.bodies_str_ids.size == 0 %] [% loc('(not sent to council)') %]
[% END %]
[% END %]

[% IF page != '' %]
<div class='assigned-to'>
[% INCLUDE 'admin/_report-assignment.html' %]
Expand Down

0 comments on commit c4f1a28

Please sign in to comment.