From 61c35502e916c834d85bda40cc31f9e35f262407 Mon Sep 17 00:00:00 2001 From: Marcelo JĂșnior Date: Fri, 19 Sep 2014 20:14:12 -0300 Subject: [PATCH] rename attributes from 'server_url' to 'dspace _server_url' --- plugins/dspace/views/cms/dspace_plugin/_collection.html.erb | 2 +- plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb | 2 +- plugins/dspace/views/content_viewer/collection.html.erb | 2 +- plugins/dspace/views/content_viewer/community.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb b/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb index 224d0fc..c003771 100644 --- a/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb +++ b/plugins/dspace/views/cms/dspace_plugin/_collection.html.erb @@ -6,7 +6,7 @@ <%= hidden_field_tag 'article[parent_id]', @article.parent_id %> -<% dspace_server_url = @article.parent.server_url %> +<% dspace_server_url = @article.parent.dspace_server_url %> <% dspace_client = Dspace::Client.new(dspace_server_url) %> diff --git a/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb b/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb index 1e1c754..de3ef1a 100644 --- a/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb +++ b/plugins/dspace/views/cms/dspace_plugin/_communityy.html.erb @@ -6,7 +6,7 @@ <%= hidden_field_tag 'article[parent_id]', @article.parent_id %> -<% dspace_server_url = @article.parent.server_url %> +<% dspace_server_url = @article.parent.dspace_server_url %> <% dspace_client = Dspace::Client.new(dspace_server_url) %> diff --git a/plugins/dspace/views/content_viewer/collection.html.erb b/plugins/dspace/views/content_viewer/collection.html.erb index 4a63989..896fcaf 100644 --- a/plugins/dspace/views/content_viewer/collection.html.erb +++ b/plugins/dspace/views/content_viewer/collection.html.erb @@ -1,5 +1,5 @@ <% collection_id = dspace_collection.dspace_collection_id %> -<% dspace_server = dspace_collection.parent.server_url %> +<% dspace_server = dspace_collection.parent.dspace_server_url %>
diff --git a/plugins/dspace/views/content_viewer/community.html.erb b/plugins/dspace/views/content_viewer/community.html.erb index 051248a..35e06ec 100644 --- a/plugins/dspace/views/content_viewer/community.html.erb +++ b/plugins/dspace/views/content_viewer/community.html.erb @@ -1,5 +1,5 @@ <% community_id = dspace_community.dspace_community_id %> -<% dspace_server = dspace_community.parent.server_url %> +<% dspace_server = dspace_community.parent.dspace_server_url %>
-- libgit2 0.21.2