NSFW mobile come back
This commit is contained in:
parent
9bd2def105
commit
a4a483af90
2 changed files with 5 additions and 4 deletions
|
|
@ -76,7 +76,7 @@ body {
|
|||
.shield_wrapper{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: grey;
|
||||
background-color: LightGrey;
|
||||
position: absolute;
|
||||
border-radius: 5px;
|
||||
z-index: 2;
|
||||
|
|
|
|||
|
|
@ -3,11 +3,12 @@
|
|||
-# the COPYRIGHT file.
|
||||
|
||||
.stream_element{:data=>{:guid=>post.id}}
|
||||
- if post.respond_to?(:nsfw?) && post.nsfw?
|
||||
- if post.respond_to?(:nsfw) && post.nsfw
|
||||
.shield_wrapper
|
||||
.shield
|
||||
= t("javascripts.stream.nsfw")
|
||||
= link_to t('javascripts.stream.show'), '#'
|
||||
%strong #NSFW
|
||||
|
|
||||
= link_to t('javascripts.stream.show_nsfw_post'), '#'
|
||||
|
||||
|
||||
- if post.is_a?(Reshare)
|
||||
|
|
|
|||
Loading…
Reference in a new issue