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

Version Path
fat_free_crm-0.14.2 app/views/users/_user.html.haml
fat_free_crm-0.15.2 app/views/users/_user.html.haml
fat_free_crm-0.16.4 app/views/users/_user.html.haml
fat_free_crm-0.14.1 app/views/users/_user.html.haml
fat_free_crm-0.15.1 app/views/users/_user.html.haml
fat_free_crm-0.16.3 app/views/users/_user.html.haml
fat_free_crm-0.16.2 app/views/users/_user.html.haml
fat_free_crm-0.16.1 app/views/users/_user.html.haml
fat_free_crm-0.16.0 app/views/users/_user.html.haml
fat_free_crm-0.15.0 app/views/users/_user.html.haml
fat_free_crm-0.15.0.beta.2 app/views/users/_user.html.haml
fat_free_crm-0.15.0.beta app/views/users/_user.html.haml
fat_free_crm-0.14.0 app/views/users/_user.html.haml
reduced_fat_crm-0.15.0.beta app/views/users/_user.html.haml
reduced_fat_crm-0.14.0 app/views/users/_user.html.haml