diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-22 10:52:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-22 10:52:10 +0200 |
commit | 6f8d29ad8076fc53019739cdc9afa3d15d250d8e (patch) | |
tree | c426b70647c55eda335239ac31a5c43170d41790 /view/tpl | |
parent | eb947acebe696eeccd378e1ef1e3bffd6533165c (diff) | |
download | volse-hubzilla-6f8d29ad8076fc53019739cdc9afa3d15d250d8e.tar.gz volse-hubzilla-6f8d29ad8076fc53019739cdc9afa3d15d250d8e.tar.bz2 volse-hubzilla-6f8d29ad8076fc53019739cdc9afa3d15d250d8e.zip |
move photo object stuff from itemObject to prepare_body() so we can do more stuff with it
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/conv_item.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 0a6622fa4..e6e9d880e 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -33,9 +33,9 @@ </div> <div class="clear"></div> </div> - {{if $item.is_photo}} + {{if $item.photo}} <div class="wall-photo-item" id="wall-photo-item-{{$item.id}}"> - <a href="{{$item.photo.link}}"><img style="max-width:{{$item.photo.width}}px; width:100%; height:auto;" src={{$item.photo.url}}></a> + {{$item.photo}} </div> {{/if}} {{if $item.body}} |