Sha256: 42bfd71b5c7f80ec275c3e9f37600e6ec19b4b38cdab41a1c93c7f56f839b031
Contents?: true
Size: 1.23 KB
Versions: 13
Compression:
Stored size: 1.23 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
13 entries across 13 versions & 1 rubygems