Added oembed display to mobile stream view
This commit is contained in:
parent
9d6ac1abe5
commit
32d86254b5
2 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
|
|
||||||
= link_to t('javascripts.stream.show_nsfw_post'), '#'
|
= link_to t('javascripts.stream.show_nsfw_post'), '#'
|
||||||
|
|
||||||
|
|
||||||
- if post.is_a?(Reshare)
|
- if post.is_a?(Reshare)
|
||||||
= render 'reshares/reshare', :reshare => post, :post => post.absolute_root
|
= render 'reshares/reshare', :reshare => post, :post => post.absolute_root
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,5 @@
|
||||||
|
|
||||||
%div{:class => direction_for(post.text)}
|
%div{:class => direction_for(post.text)}
|
||||||
!= markdownify(post)
|
!= markdownify(post)
|
||||||
|
- if post.o_embed_cache
|
||||||
|
!= o_embed_html post.o_embed_cache
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue