aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-03 01:52:53 +0100
committertommy tomson <thomas.bierey@gmx.de>2012-03-03 01:52:53 +0100
commit8f72d95b0e3e7a0da1702cf95cc40d0df1aef96d (patch)
tree9b2d66dd28239049dbccc2392fb18f2eaa2b2951 /view
parentd3f83c93753791708b873df46b00d749f27ae7df (diff)
downloadvolse-hubzilla-8f72d95b0e3e7a0da1702cf95cc40d0df1aef96d.tar.gz
volse-hubzilla-8f72d95b0e3e7a0da1702cf95cc40d0df1aef96d.tar.bz2
volse-hubzilla-8f72d95b0e3e7a0da1702cf95cc40d0df1aef96d.zip
fix in wall_item.tpl
new icon link.png
Diffstat (limited to 'view')
-rwxr-xr-xview/theme/diabook/icons/link.pngbin0 -> 365 bytes
-rw-r--r--view/theme/diabook/style.css5
-rw-r--r--view/theme/diabook/wall_item.tpl18
3 files changed, 13 insertions, 10 deletions
diff --git a/view/theme/diabook/icons/link.png b/view/theme/diabook/icons/link.png
new file mode 100755
index 000000000..0ef666a67
--- /dev/null
+++ b/view/theme/diabook/icons/link.png
Binary files differ
diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css
index a58e79483..1f148fe3a 100644
--- a/view/theme/diabook/style.css
+++ b/view/theme/diabook/style.css
@@ -102,6 +102,7 @@
.icon.tagged { background-image: url("../../../view/theme/diabook/icons/tagged.png");}
.icon.unstarred { background-image: url("../../../view/theme/diabook/icons/unstarred.png");}
.icon.star { background-image: url("../../../view/theme/diabook/icons/star.png");}
+.icon.link { background-image: url("../../../view/theme/diabook/icons/link.png");}
.article { background-position: -50px 0px;}
.audio { background-position: -70px 0px;}
@@ -112,7 +113,7 @@
.camera { background-position: -170px 0px;}
/*.dislike { background-position: -190px 0px;}*/
/*.like { background-position: -210px 0px;}*/
-.link { background-position: -230px 0px;}
+/*.link { background-position: -230px 0px;}*/
.globe { background-position: -50px -20px;}
.noglobe { background-position: -70px -20px;}
@@ -160,7 +161,7 @@
display: block;
width: 20px;
height: 20px;
- background-image: url('icons.png');
+ /*background-image: url('icons.png');*/
}
.icon {
diff --git a/view/theme/diabook/wall_item.tpl b/view/theme/diabook/wall_item.tpl
index c1205b01b..728e863e6 100644
--- a/view/theme/diabook/wall_item.tpl
+++ b/view/theme/diabook/wall_item.tpl
@@ -36,6 +36,7 @@
</div>
<div class="wall-item-bottom">
<div class="wall-item-links">
+ {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
</div>
<div class="wall-item-tags">
{{ for $item.tags as $tag }}
@@ -45,17 +46,11 @@
</div>
<div class="wall-item-bottom">
<div class="">
- {{ if $item.plink }}<a class="icon s16 link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
+
</div>
<div class="wall-item-actions">
<div class="wall-item-location">$item.location&nbsp;</div>
<div class="wall-item-actions-social">
-
- {{ if $item.star }}
- <a href="#" id="star-$item.id" class="icon unstarred" onclick="dostar($item.id); return false;" class="$item.star.classdo" title="$item.star.do">$item.star.do</a>
- <a href="#" id="unstar-$item.id" class="icon star" onclick="dostar($item.id); return false;" class="$item.star.classundo" title="$item.star.undo">$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>
- {{ endif }}
{{ if $item.vote }}
<a href="#" id="like-$item.id" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
@@ -64,7 +59,14 @@
{{ if $item.vote.share }}
<a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
- {{ endif }}
+ {{ endif }}
+
+ {{ if $item.star }}
+ <a href="#" id="star-$item.id" class="icon star" onclick="dostar($item.id); return false;" class="$item.star.classdo" title="$item.star.do">$item.star.do</a>
+ <a href="#" id="unstar-$item.id" class="icon unstarred" onclick="dostar($item.id); return false;" class="$item.star.classundo" title="$item.star.undo">$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>
+ {{ endif }}
+
</div>
<div class="wall-item-actions-tools">