Sha256: 49c9dd8d98a2f95cd5daed2d7147b6478d2612304908c3b68896ddd605e4f016

Contents?: true

Size: 615 Bytes

Versions: 18

Compression:

Stored size: 615 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 do |user|
        = link_to( h(user.full_name), user )

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.15.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.16.4 app/views/admin/groups/_group.html.haml
fat_free_crm-0.14.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.15.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.16.3 app/views/admin/groups/_group.html.haml
fat_free_crm-0.16.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.16.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.16.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.15.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.15.0.beta.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.15.0.beta app/views/admin/groups/_group.html.haml
fat_free_crm-0.14.0 app/views/admin/groups/_group.html.haml
reduced_fat_crm-0.15.0.beta app/views/admin/groups/_group.html.haml
reduced_fat_crm-0.14.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.13.6 app/views/admin/groups/_group.html.haml
fat_free_crm-0.13.5 app/views/admin/groups/_group.html.haml
fat_free_crm-0.13.4 app/views/admin/groups/_group.html.haml