diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-03-29 18:00:07 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-03-30 15:58:55 +0100 |
commit | f4064c90d64b3a3ae6e168ff06c0202c4c1d7c50 (patch) | |
tree | 3d3da8f8426df7791d693ee6c2cbbf729fbad876 /templates/web | |
parent | e994554ec343239c4c5235338f5fd04046f247b8 (diff) |
Switch list item heading from h4 to h3.
This stops the front page header nesting skipping a level.
Diffstat (limited to 'templates/web')
-rw-r--r-- | templates/web/base/report/_item.html | 2 | ||||
-rw-r--r-- | templates/web/zerotb/report/_item.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/report/_item.html | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html index 6ae43f798..704dfd29c 100644 --- a/templates/web/base/report/_item.html +++ b/templates/web/base/report/_item.html @@ -3,7 +3,7 @@ [% IF problem.photo %] <img class="img" height="60" width="90" src="[% problem.photos.first.url_fp %]" alt=""> [% END %] - <h4>[% problem.title | html %]</h4> + <h3 class="item-list__heading">[% problem.title | html %]</h3> <small> [%- IF c.cobrand.moniker != 'fixamingata' %] [%# Default: %] [%- prettify_dt( problem.confirmed, 1 ) %] diff --git a/templates/web/zerotb/report/_item.html b/templates/web/zerotb/report/_item.html index e12c9e1fa..8562fe607 100644 --- a/templates/web/zerotb/report/_item.html +++ b/templates/web/zerotb/report/_item.html @@ -1,5 +1,5 @@ <li class="item-list__item item-list--reports__item"> <a href="[% c.uri_for('/report', problem.id ) %]"> - <h4>[% problem.title | html %]</h4> + <h3 class="item-list__heading">[% problem.title | html %]</h3> </a> </li> diff --git a/templates/web/zurich/report/_item.html b/templates/web/zurich/report/_item.html index a4d274a8e..560cbac51 100644 --- a/templates/web/zurich/report/_item.html +++ b/templates/web/zurich/report/_item.html @@ -4,9 +4,9 @@ <img class="img" height="60" width="90" src="[% problem.photos.first.url_fp %]" alt=""> [% END %] [% IF problem.state != 'unconfirmed' %] - <h4>[% problem.title | html %]</h4> + <h3 class="item-list__heading">[% problem.title | html %]</h3> [% ELSE %] - <h4><em>[% loc('Awaiting moderation') %]</em></h4> + <h3 class="item-list__heading"><em>[% loc('Awaiting moderation') %]</em></h3> [% END %] <small>[% prettify_dt( problem.created, 'zurich' ) %] [%- IF dist %], [% dist %]km[% END %] |