Commit 61c35502e916c834d85bda40cc31f9e35f262407
1 parent
8a213fa7
Exists in
staging
and in
7 other branches
rename attributes from 'server_url' to 'dspace _server_url'
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
plugins/dspace/views/cms/dspace_plugin/_collection.html.erb
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | 6 | ||
7 | <%= hidden_field_tag 'article[parent_id]', @article.parent_id %> | 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 | <% dspace_client = Dspace::Client.new(dspace_server_url) %> | 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,7 +6,7 @@ | ||
6 | 6 | ||
7 | <%= hidden_field_tag 'article[parent_id]', @article.parent_id %> | 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 | <% dspace_client = Dspace::Client.new(dspace_server_url) %> | 11 | <% dspace_client = Dspace::Client.new(dspace_server_url) %> |
12 | 12 |
plugins/dspace/views/content_viewer/collection.html.erb
1 | <% collection_id = dspace_collection.dspace_collection_id %> | 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 | <div id="dspace_library"> | 4 | <div id="dspace_library"> |
5 | <div id="dspace_collection"> | 5 | <div id="dspace_collection"> |
plugins/dspace/views/content_viewer/community.html.erb
1 | <% community_id = dspace_community.dspace_community_id %> | 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 | <div id="dspace_library"> | 4 | <div id="dspace_library"> |
5 | <div id="dspace_community"> | 5 | <div id="dspace_community"> |