Skip to content

Commit

Permalink
Consistent styling for updates on report page and /my page
Browse files Browse the repository at this point in the history
Fixes #1312.
  • Loading branch information
zarino committed Feb 4, 2016
1 parent 178c601 commit cf80773
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions templates/web/base/my/my.html
Expand Up @@ -46,11 +46,21 @@ <h2>[% loc('Your updates') %]</h2>
<ul class="item-list item-list--updates full-width">
[% END %]

<li>&ldquo;[% u.text | html %]&rdquo;
&ndash; <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' ) ) %]
&ndash;
<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 %]
Expand Down

0 comments on commit cf80773

Please sign in to comment.