Add SASS for sharing message.
This commit is contained in:
parent
1e5ef88d8c
commit
2e83736f43
2 changed files with 12 additions and 1 deletions
|
|
@ -622,6 +622,17 @@ form.new_comment
|
|||
h4
|
||||
:font-weight bold
|
||||
|
||||
#sharing_message
|
||||
:font-size smaller
|
||||
:align middle
|
||||
|
||||
span
|
||||
:vertical-align middle
|
||||
|
||||
img
|
||||
:vertical-align middle
|
||||
:margin 0.5em
|
||||
|
||||
#photo_container
|
||||
:text
|
||||
:align center
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ module PeopleHelper
|
|||
|
||||
def sharing_message(person, contact)
|
||||
if contact.sharing?
|
||||
content_tag(:div, :class => 'info') do
|
||||
content_tag(:div, :id => 'sharing_message') do
|
||||
image_tag('icons/check_yes_ok.png') +
|
||||
content_tag(:span, I18n.t('people.helper.is_sharing', :name => person.name))
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue