From 9365fa9e3923c07b15f6ebf47ffa3be0b23bcb1f Mon Sep 17 00:00:00 2001 From: Marcelo JĂșnior Date: Mon, 15 Sep 2014 15:41:22 -0300 Subject: [PATCH] dspace_plugin : add partial --- plugins/dspace/lib/dspace_plugin/library.rb | 4 ++-- plugins/dspace/views/content_viewer/_community_item.html.erb | 1 + plugins/dspace/views/content_viewer/library.html.erb | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 plugins/dspace/views/content_viewer/_community_item.html.erb diff --git a/plugins/dspace/lib/dspace_plugin/library.rb b/plugins/dspace/lib/dspace_plugin/library.rb index 73ec731..c6d6a12 100644 --- a/plugins/dspace/lib/dspace_plugin/library.rb +++ b/plugins/dspace/lib/dspace_plugin/library.rb @@ -24,8 +24,8 @@ class DspacePlugin::Library < Blog end end - def bli - 'bli' + def communities + [] end end diff --git a/plugins/dspace/views/content_viewer/_community_item.html.erb b/plugins/dspace/views/content_viewer/_community_item.html.erb new file mode 100644 index 0000000..4effa19 --- /dev/null +++ b/plugins/dspace/views/content_viewer/_community_item.html.erb @@ -0,0 +1 @@ +hello! diff --git a/plugins/dspace/views/content_viewer/library.html.erb b/plugins/dspace/views/content_viewer/library.html.erb index f5ffa0c..7c2a8ab 100644 --- a/plugins/dspace/views/content_viewer/library.html.erb +++ b/plugins/dspace/views/content_viewer/library.html.erb @@ -14,8 +14,8 @@ <% end %> -