diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-02-04 11:54:06 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2016-02-04 11:54:06 +0000 |
commit | cf80773fa925f36a7c43b5f7eb1bcf7f56593796 (patch) | |
tree | 6cadc69e46820884e7e4831889918928777f05ce | |
parent | 178c601f2d1a98649e192a3621067ebe1d3e0939 (diff) |
Consistent styling for updates on report page and /my page
Fixes #1312.
-rw-r--r-- | templates/web/base/my/my.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/templates/web/base/my/my.html b/templates/web/base/my/my.html index 9be4edfca..dff18c025 100644 --- a/templates/web/base/my/my.html +++ b/templates/web/base/my/my.html @@ -46,11 +46,21 @@ <ul class="item-list item-list--updates full-width"> [% END %] - <li>“[% u.text | html %]” - – <a href="[% c.uri_for( '/report', u.problem_id ) %]#update_[% u.id %]">[% u.problem.title | html %]</a>. - <p><small class="council_sent_info"> - [% tprintf( loc("Added %s"), prettify_dt( u.confirmed, 'date' ) ) %] - </small></p> + <li class="item-list__item item-list__item--updates"> + <div class="item-list__update-wrap"> + [% INCLUDE 'report/photo.html' object=u %] + <div class="item-list__update-text"> + [% add_links( u.text ) | html_para %] + + <p class="meta-2"> + [% tprintf( loc("Added %s"), prettify_dt( u.confirmed, 'date' ) ) %] + – + <a href="[% c.uri_for( '/report', u.problem_id ) %]#update_[% u.id %]"> + [% u.problem.title | html %] + </a> + </p> + </div> + </div> </li> [% "</ul>" IF loop.last %] [% END %] |