mconf/mconf-web

View on GitHub
app/views/participants/_participant.html.haml

Summary

Maintainability
Test Coverage
.thread.thread-no-hover.user-information.user-simple{:class => "#{cycle("thread-even" , "thread-odd")}"}
  - user = participant.owner
  .logo-in-thread
    = raw link_logo_image(user, :size => '32', :title => user.name, :url => user_path(user), :class => 'logo logo-user')

  %ul.management-links

    - if can? :destroy, @participant
      = link_to event_participant_path(@event, participant), :data => { :confirm => t('participants.index.disable_confirm') }, :method => :delete do
        = icon_delete(:alt => t('participants.index.disable'), :title => t('participants.index.disable'))

  .user-text
    = link_to user_path(user), :class => 'user-name' do
      = user.full_name
      = user_info_string(user)

    %span.user-category
      = user_category(user)