<%= content_tag 'div', dspace_library.body %> <% if dspace_library.gather_option == "communities" %> <% if true %>
<%= content_tag('a', :href => url_for({:controller => 'cms', :action => 'new', :type => "DspacePlugin::Communityy", :parent_id => dspace_library.id}), :class => 'button with-text icon-add') do %> <%= _("New %s") % DspacePlugin::Communityy.short_description %> <% end %>
<% end %> <% communities = dspace_library.communities %> <% end %> <% if dspace_library.gather_option == "collections" %> <% if true %>
<%= content_tag('a', :href => url_for({:controller => 'cms', :action => 'new', :type => "DspacePlugin::Collection", :parent_id => dspace_library.id}), :class => 'button with-text icon-add') do %> <%= _("New %s") % DspacePlugin::Collection.short_description %> <% end %>
<% end %> <% collections = dspace_library.collections %> <% unless collections.blank? %> <% end %> <% end %>