diff --git a/app/assets/stylesheets/_settings.scss b/app/assets/stylesheets/_settings.scss index e561098a3..0a94f1950 100644 --- a/app/assets/stylesheets/_settings.scss +++ b/app/assets/stylesheets/_settings.scss @@ -117,6 +117,17 @@ margin-right: 23em; margin-left: 23.5em; } + .approved-details{ + dt { + float: left; + min-width: calc(25% + 55px); + /* adjust the width; make sure the total of both is 100% */ + padding: 0; + margin: 0; + margin-left: 1em; + clear: both + } + } h2 {// Heading for the details div margin-left: 0.2em; text-decoration: underline; @@ -136,7 +147,7 @@ } dt { float: left; - min-width: calc(25% + 5em); + min-width: calc(25% + 80px); /* adjust the width; make sure the total of both is 100% */ padding: 0; margin: 0; diff --git a/app/views/projects/_approved_details.html.erb b/app/views/projects/_approved_details.html.erb index 428414ce5..0977ea59d 100644 --- a/app/views/projects/_approved_details.html.erb +++ b/app/views/projects/_approved_details.html.erb @@ -1,21 +1,26 @@ +

Project Settings

-
Project ID
 
<%= @project_id %>
+
Project ID
<%= @project_id %>
Storage Capacity
-
Requested
<%= "#{@requested_size} #{@requested_unit}" %>
-
Approved
<%= "#{@approved_size} #{@approved_unit}" %>
+
+
Requested
<%= "#{@requested_size} #{@requested_unit}" %>
+
Approved
<%= "#{@approved_size} #{@approved_unit}" %>
+
Storage Performance Expectations
-
Requested
<%= @requested_storage_expectations %>
-
Approved
<%= @approved_storage_expectations %>
+
+
Requested
<%= @requested_storage_expectations %>
+
Approved
<%= @approved_storage_expectations %>
+
-
Project Purpose
 
<%= @project_purpose %>
+
Project Purpose
<%= @project_purpose %>
<% if @project.in_mediaflux? && (current_user.superuser? || current_user.eligible_sysadmin?) %>
-
Mediaflux id:
 
<%= @project.mediaflux_id %>
+
Mediaflux id:
<%= @project.mediaflux_id %>
<% elsif !@project.in_mediaflux? %>

This project has not been saved to Mediaflux