Sha256: c3e1dc9fb2d2738cdd67da1568f543a1fafa33ea863a195de773b28d3750bd2b

Contents?: true

Size: 780 Bytes

Versions: 3

Compression:

Stored size: 780 Bytes

Contents

- person ||= @person

#person
  .header
    = link_to "X", '#', :class => "closer", :data => {:action => "close"}
    %h2.titlebar
      = person.formal_name
  .person
    .mugshot.full{:style => "background-image: url(#{person.image.url('thumb')})"}
    .detail
      %h3
        = person.formal_name

      %p.contact
        - if person.organisation
          %strong
            = person.organisation.name
            %br
        - if person.email?
          = mail_to person.email
        - if person.email? && person.phone?
          = t :or
        - if person.phone?
          = person.phone
      .description
        - if person.description?
          = sanitize(person.description.html_safe)
        - else
          %p
            = t :no_person_description
          

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/people/show.html.haml
droom-0.4.2 app/views/droom/people/show.html.haml
droom-0.4.1 app/views/droom/people/show.html.haml