Add more data attributes to thumbnail previews

This commit is contained in:
Toks
2014-03-14 13:57:49 -04:00
parent 96d5a937d5
commit 49bdc7cd79

View File

@@ -53,6 +53,11 @@ class PostPresenter < Presenter
data-score="#{post.score}"
data-fav-count="#{post.fav_count}"
data-pixiv-id="#{post.pixiv_id}"
data-md5="#{post.md5}"
data-file-ext="#{post.file_ext}"
data-file-url="#{post.file_url}"
data-large-file-url="#{post.large_file_url}"
data-preview-file-url="#{post.preview_file_url}"
}.html_safe
end