summaryrefslogtreecommitdiff
path: root/src/data/templates/vote.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/templates/vote.hbs')
-rw-r--r--src/data/templates/vote.hbs12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/data/templates/vote.hbs b/src/data/templates/vote.hbs
index 135fa2f..9aff608 100644
--- a/src/data/templates/vote.hbs
+++ b/src/data/templates/vote.hbs
@@ -1,3 +1,9 @@
-{{#with quote}}
-{{score}} (fra {{votes}})
-{{/with}}
+{{score}} (fra {{votes}}), Vote: <font size="-1">
+{{#each vote_options}}
+{{#if is_user_vote}}
+<b>{{value}}</b>
+{{else}}
+<a href="javascript:vote({{../id}},{{value}})">{{value}}</a>
+{{/if}}
+{{/each}}
+</font></span>