aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/wall_item.tpl
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-09 02:59:13 +0100
committertommy tomson <thomas.bierey@gmx.de>2012-03-09 02:59:13 +0100
commitfeda3cfc960c317c91f483238c29fce629f494e6 (patch)
treece02ac1a8854d0b7c5cee84aaa116ac306f3726a /view/theme/diabook/wall_item.tpl
parentb9dda93f0c704cd80e0fbfeb5ff5da26b9aae7f4 (diff)
downloadvolse-hubzilla-feda3cfc960c317c91f483238c29fce629f494e6.tar.gz
volse-hubzilla-feda3cfc960c317c91f483238c29fce629f494e6.tar.bz2
volse-hubzilla-feda3cfc960c317c91f483238c29fce629f494e6.zip
fixed star-bug
Diffstat (limited to 'view/theme/diabook/wall_item.tpl')
-rw-r--r--view/theme/diabook/wall_item.tpl9
1 files changed, 3 insertions, 6 deletions
diff --git a/view/theme/diabook/wall_item.tpl b/view/theme/diabook/wall_item.tpl
index 0a02ba812..b1a014949 100644
--- a/view/theme/diabook/wall_item.tpl
+++ b/view/theme/diabook/wall_item.tpl
@@ -1,6 +1,5 @@
{{ if $item.indent }}{{ else }}
<div class="wall-item-decor">
- <span class="icon isstar $item.isstarred" id="starred-$item.id" title="$item.star.starred">$item.star.starred</span>
{{ if $item.lock }}<span class="icon lock fakelink" onclick="lockview(event,$item.id);" title="$item.lock">$item.lock</span>{{ endif }}
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
</div>
@@ -62,11 +61,9 @@
{{ if $item.star }}
- <a href="#" id="star-$item.id" onclick="dostar($item.id); return false;" class="$item.star.classdo" title="$item.star.do" >
- <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
- <a href="#" id="unstar-$item.id" onclick="dostar($item.id); return false;" class="$item.star.classundo" title="$item.star.undo">
- <img src="images/star_dummy.png" class="icon star" alt="$item.star.undo" /> </a>
- <a href="#" id="tagger-$item.id" class="icon tagged" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
+ <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
+ <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
+ <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
{{ endif }}
{{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}