app/views/groups/show.html.haml in radiant-reader-extension-3.0.32 vs app/views/groups/show.html.haml in radiant-reader-extension-3.0.33

- old
+ new

@@ -1,13 +1,10 @@ - content_for :breadhead do = link_to t('reader_extension.readers_title').titlecase, reader_index_url = t('reader_extension.separator') = link_to t('reader_extension.groups').titlecase, groups_url = t('reader_extension.separator') - - if @group.parent - = link_to @group.parent.name, group_url(@group.parent) - = t('reader_extension.separator') - content_for :title do = @group.name - content_for :breadcrumbs do @@ -18,21 +15,18 @@ = yield :breadhead = yield :title = render :partial => 'shared/standard_reader_parts' -- content_for :main do +- content_for :introduction do %p = t('reader_extension.download_group_as') = link_to t("reader_extension.csv_file"), group_url(@group, :format => :csv), :class => 'csv' = t('or') - = link_to t("reader_extension.vcard_file"), group_url(@group, :format => :vcard), :class => 'vcard' + = link_to t("reader_extension.vcard_file"), group_url(@group, :format => :vcard), :class => 'vcards' + = t('reader_extension.or_individual_card') - - if @group.children.any? - %h2 - = t('reader_extension.subgroups', :name => @group.name) - = render :partial => 'groups/group', :collection => @group.children - +- content_for :main do - if @group.memberships.any? %h2 = t('reader_extension.group_members') %table.readers %tbody