]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/templates/wall_thread.tpl
Normalize item action label key name
[friendica.git] / view / theme / smoothly / templates / wall_thread.tpl
index 773938f3c5853766a178dee03b693aa4bc3e97f4..594799f6b8a8fefb0943e4019197c571d4a75732 100644 (file)
                        {{/if}}
 
                        <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}">
-                               {{if $item.drop.dropping}}
-                               <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a>
+                               {{if $item.drop && $item.drop.dropping}}
+                               <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.label}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a>
                                {{/if}}
                        </div>
 
-                       {{if $item.drop.pagedrop}}
+                       {{if $item.drop && $item.drop.pagedrop}}
                        <input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />
                        {{/if}}