diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-19 15:11:09 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-19 15:11:09 +0100 |
commit | 6e3005a2f2757dbd9c49dca08abc4e1252f3b4b9 (patch) | |
tree | 660d26b39f629a51035ff14f15d6297d40cb4b90 | |
parent | a74f2325b3bbf447ba7de33b0d74fffdc219114c (diff) |
make image centring optional
-rw-r--r-- | templates/web/default/report/display.html | 2 | ||||
-rw-r--r-- | templates/web/default/report/photo.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index 8120acc96..48b799978 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -23,7 +23,7 @@ </p> [% END %] -[% INCLUDE 'report/photo.html' object=problem %] +[% INCLUDE 'report/photo.html' object=problem center=1 %] <p align="right"> <small> diff --git a/templates/web/default/report/photo.html b/templates/web/default/report/photo.html index 6cad4d9c3..451a0479c 100644 --- a/templates/web/default/report/photo.html +++ b/templates/web/default/report/photo.html @@ -1,6 +1,6 @@ [% IF c.cobrand.allow_photo_display && object.photo %] [% photo = object.get_photo_params %] -<p align="center"> +<p[% ' align="center"' IF center %]> <img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]"> </p> [% END %] |