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{
|
.shield_wrapper{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: grey;
|
background-color: LightGrey;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,12 @@
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
.stream_element{:data=>{:guid=>post.id}}
|
.stream_element{:data=>{:guid=>post.id}}
|
||||||
- if post.respond_to?(:nsfw?) && post.nsfw?
|
- if post.respond_to?(:nsfw) && post.nsfw
|
||||||
.shield_wrapper
|
.shield_wrapper
|
||||||
.shield
|
.shield
|
||||||
= t("javascripts.stream.nsfw")
|
%strong #NSFW
|
||||||
= link_to t('javascripts.stream.show'), '#'
|
|
|
||||||
|
= link_to t('javascripts.stream.show_nsfw_post'), '#'
|
||||||
|
|
||||||
|
|
||||||
- if post.is_a?(Reshare)
|
- if post.is_a?(Reshare)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue