diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2015-04-21 12:44:05 +0100 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2015-04-21 12:44:05 +0100 |
commit | 4701df9c693a2f4dbaafc84fce6b46e8efd18868 (patch) | |
tree | f8be889c4e03fe247a912d976e541f19360c52eb /templates | |
parent | 2604aa3b3c6c9edc3df444eeede83491c6ce405c (diff) |
Simplify .update-img layout
Fixes #424.
Using a float rather than table-cell styling also means we
no longer have to work around IE7 table display support.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/update.html | 6 | ||||
-rw-r--r-- | templates/web/fixmystreet/report/update.html | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/templates/web/base/report/update.html b/templates/web/base/report/update.html index 048968eae..a5fd97870 100644 --- a/templates/web/base/report/update.html +++ b/templates/web/base/report/update.html @@ -6,17 +6,19 @@ [% INCLUDE meta_line %] </em></p></div> [% IF NOT update.whenanswered %] + + [% INCLUDE 'report/photo.html' object=update %] + <div class="update-text"> [% add_links( update.text ) | html_para %] - [% INCLUDE 'report/photo.html' object=update %] - [% IF c.cobrand.allow_update_reporting %] <p align="right"> <small><a rel="nofollow" class="unsuitable-problem" href="[% c.uri_for( '/contact', { id => update.problem_id, update_id => update.id } ) %]">[% loc('Offensive? Unsuitable? Tell us') %]</a></small> </p> [% END %] </div> + [% END %] </div> [% '</div>' IF loop.last %] diff --git a/templates/web/fixmystreet/report/update.html b/templates/web/fixmystreet/report/update.html index a400b2416..847277dfd 100644 --- a/templates/web/fixmystreet/report/update.html +++ b/templates/web/fixmystreet/report/update.html @@ -28,6 +28,7 @@ <p class="meta-2"> [% INCLUDE meta_line %] </p> </div> [% ELSE %] + [% INCLUDE 'report/photo.html' object=update %] <div class="update-text"> <div class="moderate-display"> [% add_links( update.text ) | html_para %] @@ -50,7 +51,6 @@ [% END %] </p> </div> - [% INCLUDE 'report/photo.html' object=update %] [% END %] </div> [% IF moderating %] |