diff --git a/app/views/hyrax/base/_special_case_for_kew_creators.html.erb b/app/views/hyrax/base/_special_case_for_kew_creators.html.erb new file mode 100644 index 00000000..f3917475 --- /dev/null +++ b/app/views/hyrax/base/_special_case_for_kew_creators.html.erb @@ -0,0 +1,5143 @@ +
Creator
+
+ +
diff --git a/app/views/shared/ubiquity/creator/_show.html.erb b/app/views/shared/ubiquity/creator/_show.html.erb index f2fae5eb..ed10676a 100644 --- a/app/views/shared/ubiquity/creator/_show.html.erb +++ b/app/views/shared/ubiquity/creator/_show.html.erb @@ -1,8 +1,11 @@ <% array_of_hash = get_model(presenter.creator_hash, presenter.model, 'creator', 'creator_position') %> - -<% if (array_of_hash.class == Array && array_of_hash.first.class == Hash) %> - <%= render "shared/ubiquity/creator/show_array_hash", array_of_hash: array_of_hash, section: section %> +<% if ['f5dcdc4c-e72e-448a-b72f-d3d9c152a71d','c4123f30-db92-4117-b62c-7c4811c3c052'].include?(presenter.id) %> + <%= render "hyrax/base/special_case_for_kew_creators", section: section %> <% else %> + <% if (array_of_hash.class == Array && array_of_hash.first.class == Hash) %> + <%= render "shared/ubiquity/creator/show_array_hash", array_of_hash: array_of_hash, section: section %> + <% else %> -<% end %> <%# closes if array_of_hash.class %> + <% end %> <%# closes if array_of_hash.class %> +<% end %>