Sha256: cebdc57ab8d594fc4d6f32b7e74e34b355f45d995ca8a4d4ff85eab74279069e

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

#main.users

  %p
    = t(:users_introduction)
  %p
    = t(:users_warning)

  = render :partial => "droom/users/users_table"

- content_for :somewhere do

  - uninvited = Droom::Person.unusered
  - if uninvited.any?
    %h4
      People not yet invited
  
    %ul.checklist
      - if uninvited.length > 1
        %li
          = check_box_tag :user_ids, "all", false, :id => "person_ids_all"
          %label{:for => "person_ids_all"} 
            select all
      - uninvited.each do |person|
        %li
          = check_box_tag :"person_ids[]", person.id, false, :id => "person_ids_#{person.id}"
          %label{:for => "person_ids_#{person.id}"}
            %strong
              = person.name
            %span.admin
              = link_to t(:edit_profile), droom.edit_person_url(person), :class => 'edit minimal', :data => {:action => "popup", :affected => "#list_person_#{person.id}"}
            - if person.organisation
              %span.affiliation
                %br
                = t :of_the
                = person.organisation.name


- content_for :title do 
  = t :user_admin

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/users/index.html.haml
droom-0.4.2 app/views/droom/users/index.html.haml
droom-0.4.1 app/views/droom/users/index.html.haml