Sha256: c8d9abbbce86647a2cac6c6663c2bc702ec7ad975263cb726b61222a42aed49e
Contents?: true
Size: 1002 Bytes
Versions: 4
Compression:
Stored size: 1002 Bytes
Contents
- person ||= @person - cssclass = "icon placeholder" - cssclass << " invited" if person.has_invited_user? - cssclass << " active" if person.has_active_user? %tr.person.holder{:id => "person_#{person.id}"} %td.handle %span{:class => cssclass} %th.name = person.formal_name - if admin? - @groups.each do |group| %td.group.admin = render :partial => 'droom/memberships/button', :locals => {:group => group, :person => person} - unless admin? %td.buttons %a{:href => person_url(person, :format => :vcf), :class => 'vcard'} - if admin? %td.admin = link_to t(:edit_person), edit_person_url(person), :class => 'admin edit minimal', :remote => true, :data => {:action => "popup", :type => "html", :affected => "#person_#{person.id}"} %td.admin = link_to t(:remove), person_url(person), :method => 'delete', :class => 'admin delete minimal', :remote => 'true', :data => {:confirm => t(:confirm_delete_person, :name => person.name)}
Version data entries
4 entries across 4 versions & 1 rubygems