Sha256: 4e2c25e611f8083595b59cd0bc3af5502360390a82856916f0d4502224465b2f

Contents?: true

Size: 1.46 KB

Versions: 7

Compression:

Stored size: 1.46 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 => '', :class => 'gravatar') + ' ' + 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

7 entries across 7 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.32 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.31 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.30 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.29 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.28 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.27 app/views/admin/groups/_group.html.haml
radiant-reader-extension-3.0.26 app/views/admin/groups/_group.html.haml