From 5021b2668667bd3ec0e4988b3285e779e867168a Mon Sep 17 00:00:00 2001 From: Blanco Date: Wed, 6 Dec 2017 13:00:45 -0500 Subject: [PATCH] move manager, depositor, viewers to just below where they are selected. --- app/assets/stylesheets/hyrax/dashboard.scss | 7 ++++++- app/views/hyrax/dashboard/collections/_form_share.html.erb | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/hyrax/dashboard.scss b/app/assets/stylesheets/hyrax/dashboard.scss index e75d377b33..87ee3b91ed 100644 --- a/app/assets/stylesheets/hyrax/dashboard.scss +++ b/app/assets/stylesheets/hyrax/dashboard.scss @@ -83,7 +83,8 @@ body.dashboard { } } - /* This is needed in Chrome for the admin/admin_sets edit view to render the participants tab + /* This is needed in Chrome for the admin/admin_sets edit view AND the collection + * sharing edit view to render the participants tab * Without this the contents of that tab flow off the right-hand side of the screen * (The other containers on that page have `float: left` except for the fieldset.) */ @@ -91,6 +92,10 @@ body.dashboard { float: left; } + .collection-sharing { + float: left; + } + .main-header { margin-bottom: 0; margin-top: 0; diff --git a/app/views/hyrax/dashboard/collections/_form_share.html.erb b/app/views/hyrax/dashboard/collections/_form_share.html.erb index fb86fa8ede..37eb9634dd 100644 --- a/app/views/hyrax/dashboard/collections/_form_share.html.erb +++ b/app/views/hyrax/dashboard/collections/_form_share.html.erb @@ -57,7 +57,7 @@ <% end %> <% end %> -
+
<%= t(".current_shared") %> <%= render 'form_share_table', access: 'managers', filter: :manage? %> <%= render 'form_share_table', access: 'depositors', filter: :deposit? %>