Commit 61c35502e916c834d85bda40cc31f9e35f262407

Authored by Francisco Júnior
1 parent 8a213fa7

rename attributes from 'server_url' to 'dspace _server_url'

plugins/dspace/views/cms/dspace_plugin/_collection.html.erb
... ... @@ -6,7 +6,7 @@
6 6  
7 7 <%= hidden_field_tag 'article[parent_id]', @article.parent_id %>
8 8  
9   -<% dspace_server_url = @article.parent.server_url %>
  9 +<% dspace_server_url = @article.parent.dspace_server_url %>
10 10  
11 11 <% dspace_client = Dspace::Client.new(dspace_server_url) %>
12 12  
... ...
plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb
... ... @@ -6,7 +6,7 @@
6 6  
7 7 <%= hidden_field_tag 'article[parent_id]', @article.parent_id %>
8 8  
9   -<% dspace_server_url = @article.parent.server_url %>
  9 +<% dspace_server_url = @article.parent.dspace_server_url %>
10 10  
11 11 <% dspace_client = Dspace::Client.new(dspace_server_url) %>
12 12  
... ...
plugins/dspace/views/content_viewer/collection.html.erb
1 1 <% collection_id = dspace_collection.dspace_collection_id %>
2   -<% dspace_server = dspace_collection.parent.server_url %>
  2 +<% dspace_server = dspace_collection.parent.dspace_server_url %>
3 3  
4 4 <div id="dspace_library">
5 5 <div id="dspace_collection">
... ...
plugins/dspace/views/content_viewer/community.html.erb
1 1 <% community_id = dspace_community.dspace_community_id %>
2   -<% dspace_server = dspace_community.parent.server_url %>
  2 +<% dspace_server = dspace_community.parent.dspace_server_url %>
3 3  
4 4 <div id="dspace_library">
5 5 <div id="dspace_community">
... ...