Sha256: d993dcb463b0f3feb8ba9bf0ce1f316830966c2dcff7645da995102af57b2f96

Contents?: true

Size: 597 Bytes

Versions: 13

Compression:

Stored size: 597 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

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.22.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.21.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.20.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.20.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.19.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.19.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.18.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.17.3 app/views/admin/groups/_group.html.haml
fat_free_crm-0.18.1 app/views/admin/groups/_group.html.haml
fat_free_crm-0.18.0 app/views/admin/groups/_group.html.haml
fat_free_crm-0.17.2 app/views/admin/groups/_group.html.haml
fat_free_crm-0.17.1 app/views/admin/groups/_group.html.haml