From e76935daafadd91820dbc5f1654d205f1a7b7098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Rodr=C3=ADguez?= Date: Wed, 6 Feb 2013 19:18:00 -0200 Subject: [PATCH] remove inline styles from views/people/show --- app/assets/stylesheets/application.css.sass | 1 + app/views/people/show.html.haml | 4 ++-- app/views/people/show.mobile.haml | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/application.css.sass b/app/assets/stylesheets/application.css.sass index d69500018..afafe2504 100644 --- a/app/assets/stylesheets/application.css.sass +++ b/app/assets/stylesheets/application.css.sass @@ -988,6 +988,7 @@ ul#settings_nav .dull :color #aaa + :text-align center :font :style italic diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index bd305550b..06ec889e0 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -31,8 +31,8 @@ #main_stream.stream - if @block.present? - %div{:style=>"text-align:center;", :class => "dull"} + .dull = t('.ignoring', :name => @person.first_name) - + #paginate %span.loader.hidden diff --git a/app/views/people/show.mobile.haml b/app/views/people/show.mobile.haml index f6d7254ba..afdaafe2b 100644 --- a/app/views/people/show.mobile.haml +++ b/app/views/people/show.mobile.haml @@ -26,10 +26,9 @@ %a.more-link.paginate{:href => next_page_path} %h1 = t("more") - - else #main_stream - %div{:style=>"text-align:center;", :class => "dull"} + .dull - if user_signed_in? && (current_user.person != @person) = t('.has_not_shared_with_you_yet', :name => @person.first_name)