Sha256: a084ead526bc3d38e88c3703c543531cbd711e9846487883bb8552b94b29dd02

Contents?: true

Size: 1.44 KB

Versions: 22

Compression:

Stored size: 1.44 KB

Contents

%tr{:class =>"level_#{level}"}
  - render_region :tbody do |tbody|
    - tbody.name_cell do
      %td.name{:style => "padding-left: #{9 + (24 * level)}px;"}
        = link_to image('group', :alt => '') + ' ' + group.name, admin_group_url(group)
        %br
        %span.notes
          = group.description
    - tbody.home_cell do
      %td.home
        - if group.homepage
          = link_to group.homepage.title, edit_admin_page_url(group.homepage)
        - else
          = t('reader_extension.none')
    - tbody.members_cell do
      %td.members
        = group.readers.count
    - tbody.pages_cell do
      %td.pages
        = group.pages.count
    - tbody.modify_cell do
      %td.actions
        = link_to_unless_current image('plus') + ' ' + t('reader_extension.add_members'), new_admin_group_group_invitation_url(group), :class => 'action'
        = link_to_unless_current image('plus') + ' ' + t('reader_extension.add_subgroup'), new_admin_group_url(:parent_id => group.id), :class => 'action'
        = link_to_unless_current image('delta') + ' ' + t('reader_extension.edit_group'), edit_admin_group_url(group), :class => 'action'
        = link_to_unless_current image('minus') + ' ' + t('reader_extension.delete_group'), admin_group_url(group), :method => 'delete', :confirm => t("reader_extension.really_delete_group", :name => group.name), :class => 'action'

= render :partial => 'group', :collection => group.children, :locals => {:level => level+1}
  

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.25 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.24 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.23 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.20 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.19 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.18 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.17 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.16 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.15 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.14 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.13 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.11 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.10 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.9 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.8 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.7 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.5 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.4 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.3 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.2 app/views/admin/groups/_group.html.haml