From d4ac1f2a9cc8d744c6e47eb358ac1f1cfa4ce458 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sat, 3 Mar 2012 19:07:55 +0100 Subject: fixed star/unstar --- view/theme/diabook/icons/isstar.png | Bin 0 -> 1277 bytes view/theme/diabook/icons/star.png | Bin 339 -> 388 bytes view/theme/diabook/icons/star_dummy.png | Bin 0 -> 183 bytes view/theme/diabook/style.css | 4 +++- view/theme/diabook/wall_item.tpl | 23 ++++++++++++++--------- 5 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 view/theme/diabook/icons/isstar.png create mode 100644 view/theme/diabook/icons/star_dummy.png (limited to 'view/theme') diff --git a/view/theme/diabook/icons/isstar.png b/view/theme/diabook/icons/isstar.png new file mode 100644 index 000000000..c955b25b5 Binary files /dev/null and b/view/theme/diabook/icons/isstar.png differ diff --git a/view/theme/diabook/icons/star.png b/view/theme/diabook/icons/star.png index 32eff5a50..0b00cb189 100755 Binary files a/view/theme/diabook/icons/star.png and b/view/theme/diabook/icons/star.png differ diff --git a/view/theme/diabook/icons/star_dummy.png b/view/theme/diabook/icons/star_dummy.png new file mode 100644 index 000000000..ce11f30d4 Binary files /dev/null and b/view/theme/diabook/icons/star_dummy.png differ diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index d9d88690f..ecd995d5f 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -100,11 +100,13 @@ .icon.recycle { background-image: url("../../../view/theme/diabook/icons/recycle.png");} .icon.remote-link { background-image: url("../../../view/theme/diabook/icons/remote.png");} .icon.tagged { background-image: url("../../../view/theme/diabook/icons/tagged.png");} -.icon.unstarred { background-image: url("../../../view/theme/diabook/icons/unstarred.png");} +.icon.unstarred { background-image: url("../../../view/theme/diabook/icons/star.png");} .icon.star { background-image: url("../../../view/theme/diabook/icons/star.png");} .icon.link { background-image: url("../../../view/theme/diabook/icons/link.png");} .icon.lock { background-image: url("../../../view/theme/diabook/icons/lock.png");} .icon.unlock { background-image: url("../../../view/theme/diabook/icons/unlock.png");} +.icon.isstar { background-image: url("../../../view/theme/diabook/icons/isstar.png");} + .camera { background-image: url("../../../view/theme/diabook/icons/camera.png"); display: block; width: 28px; height: 28px; background-repeat: no-repeat; diff --git a/view/theme/diabook/wall_item.tpl b/view/theme/diabook/wall_item.tpl index 10d395316..c836d4fbb 100644 --- a/view/theme/diabook/wall_item.tpl +++ b/view/theme/diabook/wall_item.tpl @@ -1,6 +1,6 @@ {{ if $item.indent }}{{ else }}
- $item.star.starred + $item.star.starred {{ if $item.lock }}$item.lock{{ endif }}
@@ -38,9 +38,7 @@
- +
{{ for $item.tags as $tag }} $tag @@ -54,7 +52,8 @@
$item.location 
- + + {{ if $item.vote }} @@ -62,13 +61,19 @@ {{ if $item.vote.share }} - {{ endif }} + {{ endif }} {{ if $item.star }} - $item.star.do - $item.star.undo + + $item.star.do + + $item.star.undo $item.star.tagger - {{ endif }} + {{ endif }} + + {{ if $item.plink }}$item.plink.title{{ endif }} + +
-- cgit v1.2.3