Added Rateing icon

This commit is contained in:
Yukimi Kazari 2017-06-06 17:30:49 -04:00
parent 6768ab5363
commit 72cc886a4e

View File

@ -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'])) {