diff --git a/app/assets/images/dts_uc.png b/app/assets/images/dts_uc.png new file mode 100644 index 000000000..f3e720345 Binary files /dev/null and b/app/assets/images/dts_uc.png differ diff --git a/app/assets/images/ituc.png b/app/assets/images/ituc.png deleted file mode 100644 index da0e05421..000000000 Binary files a/app/assets/images/ituc.png and /dev/null differ diff --git a/app/views/hyrax/homepage/index.html.erb b/app/views/hyrax/homepage/index.html.erb index 259f73055..25dc1e8f5 100644 --- a/app/views/hyrax/homepage/index.html.erb +++ b/app/views/hyrax/homepage/index.html.erb @@ -10,7 +10,5 @@ <%= render '/shared/select_work_type_modal', create_work_presenter: @presenter.create_work_presenter if @presenter.draw_select_work_modal? %> -<%= render 'layouts/scholar/links' %> - <%= render 'layouts/scholar/partner_headline' %> <%= render 'layouts/scholar/partner_branding' %> \ No newline at end of file diff --git a/app/views/layouts/scholar/_links.html.erb b/app/views/layouts/scholar/_links.html.erb deleted file mode 100644 index 0d8d4a530..000000000 --- a/app/views/layouts/scholar/_links.html.erb +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/app/views/layouts/scholar/_partner_branding.html.erb b/app/views/layouts/scholar/_partner_branding.html.erb index 86c61d917..cf1366603 100644 --- a/app/views/layouts/scholar/_partner_branding.html.erb +++ b/app/views/layouts/scholar/_partner_branding.html.erb @@ -12,9 +12,9 @@ <% end %> -
- <%= link_to 'http://ucit.uc.edu', target: '_blank' do %> - <%= image_tag("ituc.png", class: 'img-responsive') %> +
+ <%= link_to 'https://www.uc.edu/about/ucit.html', target: '_blank' do %> + <%= image_tag("dts_uc.png", class: 'img-responsive') %> <% end %>
diff --git a/app/views/static/help.html.erb b/app/views/static/help.html.erb index 0fcf7a5a2..c55ab082e 100644 --- a/app/views/static/help.html.erb +++ b/app/views/static/help.html.erb @@ -22,6 +22,9 @@
<%= link_to 'File Format Advice', format_advice_path %>
How to choose the best file formats for your content
+
<%= link_to t('hyrax.homepage.links.manage_your_data'), "http://guides.libraries.uc.edu/datamanagementplanning", target: '_blank' %>
+
Resources for managing your research data
+
<%= link_to "Student Works", student_work_help_path %>
Help for students wanting to add content to <%=t('hyrax.product_name') %>
diff --git a/spec/features/hyrax/dashboard/collection_spec.rb b/spec/features/hyrax/dashboard/collection_spec.rb index 447910467..26188b92d 100644 --- a/spec/features/hyrax/dashboard/collection_spec.rb +++ b/spec/features/hyrax/dashboard/collection_spec.rb @@ -432,9 +432,9 @@ def get_url_fragment(type) end context 'and collection is not empty' do - # Disabled due to flakiness in CI (intermittent failures around the collection delete modal). + # Disabled due to flakiness in CI when interacting with the collection delete modal. # Re-enable once the underlying Capybara/JS timing issues are resolved. - xit it 'and user confirms delete, deletes the collection', :js do + xit 'and user confirms delete, deletes the collection', :js do within("table#collections-list-table") do expect(page).to have_content(collection.title.first) end diff --git a/spec/features/hyrax/homepage_spec.rb b/spec/features/hyrax/homepage_spec.rb index 7b1264d36..1d89bf3e5 100644 --- a/spec/features/hyrax/homepage_spec.rb +++ b/spec/features/hyrax/homepage_spec.rb @@ -35,11 +35,6 @@ expect(page).to have_css('div.scholar-home-tag.text-center') end - it 'shows external links' do - visit root_path - expect(page).to have_css('div.ext-links.text-center') - end - it 'shows partners' do visit root_path expect(page).to have_css('div.partner-branding.row') diff --git a/spec/views/static/help.html.erb_spec.rb b/spec/views/static/help.html.erb_spec.rb index 103e99a51..b47d7e1c7 100644 --- a/spec/views/static/help.html.erb_spec.rb +++ b/spec/views/static/help.html.erb_spec.rb @@ -20,4 +20,8 @@ expect(rendered).to have_link(href: student_work_help_path) expect(rendered).to have_link(href: welcome_page_index_path) end + + it 'has the Manage Your Data link' do + expect(rendered).to have_link('Manage Your Data', href: 'http://guides.libraries.uc.edu/datamanagementplanning') + end end