app/helpers/users_helper.rb
# Same as person_link except sets up HTML needed for the image on hover effect
Same as person_link except sets up HTML needed for the image on hover effect
Same as person_link except sets up HTML needed for the image on hover effect
def user_link_with_image(text, user = nil, html_options = nil)
    if user.nil?
      user = text
      text = user.name
    elsif user.is_a?(Hash)
      html_options = user
      user = text
      text = user.name
    end
    '<span class="imgHoverMarker">' + image_tag(user.small) + user_link(text, user, html_options) + '</span>'
  end
def user_link_with_image ( text , user = nil , html_options = nil ) if user . nil? user = text text = user . name elsif user . is_a? ( Hash ) html_options = user user = text text = user . name end '<span class="imgHoverMarker">' + image_tag ( user . small ) + user_link ( text , user , html_options ) + '</span>' end
Same as person_link except sets up HTML needed for the image on hover effect
Same as person_link except sets up HTML needed for the image on hover effect
text
<not_specific>
user
<not_specific>
html_options
<not_specific>