Commit 9365fa9e3923c07b15f6ebf47ffa3be0b23bcb1f

Authored by Francisco Júnior
1 parent 132e9a96

dspace_plugin : add partial

plugins/dspace/lib/dspace_plugin/library.rb
... ... @@ -24,8 +24,8 @@ class DspacePlugin::Library < Blog
24 24 end
25 25 end
26 26  
27   - def bli
28   - 'bli'
  27 + def communities
  28 + []
29 29 end
30 30  
31 31 end
... ...
plugins/dspace/views/content_viewer/_community_item.html.erb 0 → 100644
... ... @@ -0,0 +1 @@
  1 +hello!
... ...
plugins/dspace/views/content_viewer/library.html.erb
... ... @@ -14,8 +14,8 @@
14 14  
15 15 <% end %>
16 16  
17   - <ul id="sortable" class="step_list">
18   - <%= render :partial => 'community_item', :collection => dspace_library.bli %>
  17 + <ul id="sortable" class="communities_list">
  18 + <%= render :partial => 'community_item', :collection => dspace_library.communities %>
19 19 </ul>
20 20  
21 21  
... ...