Needs review
Project:
Fivestar
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Nov 2011 at 17:54 UTC
Updated:
20 May 2015 at 06:03 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
Fidelix commentedSlightly improved patch, to show 8.0 instead of 8, 7.0 instead of 7, and there goes on...
Using return number_format($rating, 1);
Comment #3
ericduran commentedThis looks good but instead of of adding yet another formatter it would be nice if we can make this a configuration on the other formatter so you can the 8.0 /10 or 8.0.
Does this make sense?
Comment #4
Fidelix commentedericduran, yes, I think you're right. This would make it less confusing and bloated.
I will only be able to work on this in 3 weeks from now, so if someone needs this fast, don't wait for me.
Comment #5
Fidelix commentedAs you suggested. It is now implemented as a formatter option.
Comment #6
Fidelix commentedCan you commit this?
Comment #8
dinis commentedDid this patch ever get committed?
Edit - Ok, I've seen that there has been no maintenance for a while. Philip, would you like a hand?
Comment #9
Fidelix commentedDanielle, last time I tried this patch it was still working.
The maintainers still need to commit it.
Comment #10
Fidelix commentedComment #11
Fidelix commentedRerolled patch for latest git version...
Comment #12
rollingnet commentedIt works great.
I subscribe too to commit it soon.
The only thing I'll add to it, it would be decimal unit option.
Comment #13
greta_drupal commentedWhile you are in there, please make the field value inline with the field label. At least an option for that. In all instances, the label stacks atop value, and the HTML output for the field value is
<div class="clearfix">...</div>= so not cool dude.Stacking the label onto graphic image is one thing, but pretty sure most people would not want to waste a line of real estate to stack a few characters.
Thank you!