diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index f9364332b..98b42bd52 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -57,6 +57,10 @@ .flex-block { display: flex; flex-grow: 1; + + .well-sm { + display: inline-block; + } } } diff --git a/app/views/my_modules/_module_header.html.erb b/app/views/my_modules/_module_header.html.erb index 1646d2893..9366af997 100644 --- a/app/views/my_modules/_module_header.html.erb +++ b/app/views/my_modules/_module_header.html.erb @@ -9,34 +9,36 @@ -
-
- <% if can_manage_module?(@my_module) %> - <%= link_to due_date_my_module_path(@my_module, format: :json), remote: true, class: "due-date-link", style: "color: inherit" do %> +
+ +
+ <% if can_manage_module?(@my_module) %> + <%= link_to due_date_my_module_path(@my_module, format: :json), remote: true, class: "due-date-link", style: "color: inherit" do %> + + <% end %> + <% else %> <% end %> - <% else %> - - <% end %> -
-
- - <% if can_manage_module?(@my_module) %> - <%= link_to due_date_my_module_path(@my_module, format: :json), remote: true, class: "due-date-link", style: "color: inherit" do %> +
+
+ + <% if can_manage_module?(@my_module) %> + <%= link_to due_date_my_module_path(@my_module, format: :json), remote: true, class: "due-date-link", style: "color: inherit" do %> + + <%= render partial: "module_header_due_date_label.html.erb", + locals: { my_module: @my_module } %> + + <% end %> + <% else %> <%= render partial: "module_header_due_date_label.html.erb", locals: { my_module: @my_module } %> <% end %> - <% else %> - - <%= render partial: "module_header_due_date_label.html.erb", - locals: { my_module: @my_module } %> - - <% end %> -
+
+