Merge pull request #3561 from movilla/NSFW_mobile_will_come_back

NSFW mobile come back
This commit is contained in:
Florian Staudacher 2012-09-10 13:08:51 -07:00
commit 04a17fd508
2 changed files with 5 additions and 4 deletions

View file

@ -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;

View file

@ -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)