diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-12 12:29:38 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-12 12:29:38 +0100 |
commit | c6776cab4ceb6109e0bffda9e98bc3fddfb47b27 (patch) | |
tree | 5581925fcd005881557b5b9aea9ca58b7d46bd44 /templates/web/default | |
parent | 2951ecb56dcdd7609a45248870b62bbc8edecc45 (diff) | |
parent | 246059586174569ffe749c05b335043548a0c523 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/report/_main.html | 2 | ||||
-rw-r--r-- | templates/web/default/report/photo.html | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/web/default/report/_main.html b/templates/web/default/report/_main.html index 3a9e60e7b..c21709ed0 100644 --- a/templates/web/default/report/_main.html +++ b/templates/web/default/report/_main.html @@ -15,6 +15,6 @@ [% add_links( problem.detail ) | html_para %] -[% INCLUDE 'report/photo.html' object=problem center=1 %] +[% INCLUDE 'report/photo.html' object=problem %] diff --git a/templates/web/default/report/photo.html b/templates/web/default/report/photo.html index 451a0479c..02ab9228b 100644 --- a/templates/web/default/report/photo.html +++ b/templates/web/default/report/photo.html @@ -1,6 +1,8 @@ [% IF c.cobrand.allow_photo_display && object.photo %] [% photo = object.get_photo_params %] -<p[% ' align="center"' IF center %]> - <img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]"> -</p> +<div class="update-img"> + [% IF photo.url_full %]<a href="[% photo.url_full %]" rel="fancy">[% END + %]<img alt="Photo of this report" [% IF photo.height %]height="[% photo.height %]" width="[% photo.width %]"[% END %] src="[% photo.url %]"> + [%- IF photo.url_full %]<span>zoom</span></a>[% END %] +</div> [% END %] |