Sha256: 8f588199654088f5719486a7430b534d04869c39b524cb0c9a180074903ddaf6

Contents?: true

Size: 623 Bytes

Versions: 9

Compression:

Stored size: 623 Bytes

Contents

%li.highlight[group]

  %ul.tools
    %li= link_to_edit [:admin, group]
    - count = Permission.where(:group_id => group.id).count
    - confirm = (count.zero? ? nil : "#{t(:confirm_group_delete, count)}")
    %li= link_to_delete [:admin, group], :confirm => confirm

  %span 
    =link_to(group.name, {:action => :edit, :id => group.id}, {:remote  => true,
          :onclick => "this.href = this.href.split('?')[0] + '?previous='+crm.find_form('edit_group');"})
  %tt
    - if (users = group.users).present?
      == #{t('group_members')}:
      = users.map{|user| link_to(h(user.full_name), user)}.join(', ').html_safe

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fat_free_crm-0.13.3 app/views/admin/groups/_group.html.haml
fat_free_crm-0.13.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.12.3 app/views/admin/groups/_group.html.haml
fat_free_crm-0.12.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.13.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.12.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.13.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.12.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.11.4 app/views/admin/groups/_group.html.haml