]> git.mxchange.org Git - friendica.git/commitdiff
quattro: fix shiny items with threads. fix 'tagged' template
authorFabrixxm <fabrix.xm@gmail.com>
Fri, 9 Nov 2012 16:24:49 +0000 (11:24 -0500)
committerFabrixxm <fabrix.xm@gmail.com>
Fri, 9 Nov 2012 16:24:49 +0000 (11:24 -0500)
view/theme/quattro/wall_item_tag.tpl
view/theme/quattro/wall_thread.tpl

index e1ef9321351348b5c8a79dd812bcd7fba3e8792b..fd0c59ea356a6a6738e8ee0219e706fb0892cb72 100644 (file)
@@ -1,6 +1,6 @@
 {{ if $item.thread_level!=1 }}<div class="children">{{ endif }}
 
-<div class="wall-item-container item-tag $item.indent">
+<div class="wall-item-container item-tag $item.indent $item.shiny">
        <div class="wall-item-item">
                <div class="wall-item-info">
                        <div class="contact-photo-wrapper">
                <div class="wall-item-content">
                        $item.ago $item.body 
                </div>
+                       <div class="wall-item-tools">
+                               {{ if $item.drop.pagedrop }}
+                                       <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
+                               {{ endif }}
+                               {{ if $item.drop.dropping }}
+                                       <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon delete s16" title="$item.drop.delete">$item.drop.delete</a>
+                               {{ endif }}
+                       </div>
        </div>
 </div>
 
index 2e5c49392fee9b1a82e2f52e46a649a0de69bd6d..622968ab0a2a0e01e42a745f7368fa91048adb0f 100644 (file)
@@ -27,7 +27,7 @@
        <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
 </div>
 
-<div class="wall-item-container $item.indent" id="item-$item.id">
+<div class="wall-item-container $item.indent $item.shiny" id="item-$item.id">
        <div class="wall-item-item">
                <div class="wall-item-info">
                        <div class="contact-photo-wrapper mframe{{ if $item.owner_url }} wwfrom{{ endif }}"
 
 
 {{ for $item.children as $child }}
-       {{ if $item.type == tag }}
+       {{ if $child.type == tag }}
                {{ inc wall_item_tag.tpl with $item=$child }}{{ endinc }}
        {{ else }}
                {{ inc $item.template with $item=$child }}{{ endinc }}
 {{if $item.comment_lastcollapsed}}</div>{{endif}}
 {{ endif }}
 
+{# top thread comment box #}
 {{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
 <div class="wall-item-comment-wrapper" >$item.comment</div>
 {{ endif }}{{ endif }}{{ endif }}