Sha256: 77274ce93d045aead8cb01d0222e652a37e56ec8c6ea186db6d729517c8e6cfb
Contents?: true
Size: 1.24 KB
Versions: 15
Compression:
Stored size: 1.24 KB
Contents
- if @user == current_user && Setting.per_user_locale %div#options(style="float:right") #{t :profile_language}: #{link_to(language_for(current_user), "#", :id => :locale)} %table(cellspacing="0" cellpadding="0") %tr %td(valign="top") = avatar_for(@user, :style => "margin: 0px 10px 0px 0px") %td(valign="top") %h3= h(@user.full_name) + " (#{@user.username})" - if !@user.title.blank? && !@user.company.blank? %div= t(:works_at, :job_title => h(@user.title), :company => h(@user.company)) - else = h(@user.title) unless @user.title.blank? = h(@user.company) unless @user.company.blank? %br %div - unless @user.email.blank? #{t :email}: #{auto_link(@user.email)} - unless @user.alt_email.blank? #{t :or} #{auto_link(@user.alt_email)} - if !@user.phone.blank? && !@user.mobile.blank? %div #{t :phone}: <b>#{@user.phone}</b>, #{t :mobile}: <b>#{@user.mobile}</b> - else - if @user.phone.present? = t(:phone) + ":" = content_tag(:b, @user.phone) - if @user.mobile.present? = t(:mobile) + ":" = content_tag(:b, @user.mobile) - if Setting.per_user_locale %script= render "languages"
Version data entries
15 entries across 15 versions & 2 rubygems