Fix #552 - Replace image links with image icons in status text in the UI

This commit is contained in:
Eugen Rochko
2017-02-05 15:25:55 +01:00
parent ff2da21d3c
commit 87830f99e7
4 changed files with 17 additions and 5 deletions

View File

@ -2,3 +2,4 @@ attributes :id, :remote_url, :type
node(:url) { |media| full_asset_url(media.file.url(:original)) }
node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }
node(:text_url) { |media| media.local? ? medium_url(media) : nil }