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

Version Path
fat_free_crm-0.22.1 app/views/users/_user.html.haml
fat_free_crm-0.22.0 app/views/users/_user.html.haml
fat_free_crm-0.21.0 app/views/users/_user.html.haml
fat_free_crm-0.20.1 app/views/users/_user.html.haml
fat_free_crm-0.20.0 app/views/users/_user.html.haml
fat_free_crm-0.19.2 app/views/users/_user.html.haml
fat_free_crm-0.19.0 app/views/users/_user.html.haml
fat_free_crm-0.18.2 app/views/users/_user.html.haml
fat_free_crm-0.17.3 app/views/users/_user.html.haml
fat_free_crm-0.18.1 app/views/users/_user.html.haml
fat_free_crm-0.18.0 app/views/users/_user.html.haml
fat_free_crm-0.17.2 app/views/users/_user.html.haml
fat_free_crm-0.17.1 app/views/users/_user.html.haml