Added Rateing icon
This commit is contained in:
parent
6768ab5363
commit
72cc886a4e
@ -101,13 +101,13 @@ class PostHelper extends Rails\ActionView\Helper
|
|||||||
else
|
else
|
||||||
$ddl_class .= ($post->width > 1920 || $post->height > 1500 )? " largeimg":" smallimg";
|
$ddl_class .= ($post->width > 1920 || $post->height > 1500 )? " largeimg":" smallimg";
|
||||||
|
|
||||||
if ($post->rating = s)
|
if ($post->rating == "s")
|
||||||
$ddl_class .= " rating-s";
|
$ddl_class .= " rating-s";
|
||||||
|
|
||||||
if ($post->rating = q)
|
if ($post->rating == "q")
|
||||||
$ddl_class .= " rating-q";
|
$ddl_class .= " rating-q";
|
||||||
|
|
||||||
if ($post->rating = e)
|
if ($post->rating == e"")
|
||||||
$ddl_class .= " rating-e";
|
$ddl_class .= " rating-e";
|
||||||
|
|
||||||
if (!empty($options['similarity'])) {
|
if (!empty($options['similarity'])) {
|
||||||
|
Reference in New Issue
Block a user