From 02417be14ff844f5ea9e69dffcf0465720d0d9c1 Mon Sep 17 00:00:00 2001 From: decabeza Date: Tue, 23 May 2017 13:18:26 +0200 Subject: [PATCH] improves styles for not open or no processes messages --- app/views/legislation/processes/index.html.erb | 4 +++- .../legislation/processes/phase_not_open.html.erb | 15 +++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app/views/legislation/processes/index.html.erb b/app/views/legislation/processes/index.html.erb index d9aa8a853..b9afd5f59 100644 --- a/app/views/legislation/processes/index.html.erb +++ b/app/views/legislation/processes/index.html.erb @@ -13,7 +13,9 @@ <%= render @processes %> <%= paginate @processes %> <% else %> - <%= t(".no_#{@current_filter}_processes") %> +
+ <%= t(".no_#{@current_filter}_processes") %> +
<% end %> diff --git a/app/views/legislation/processes/phase_not_open.html.erb b/app/views/legislation/processes/phase_not_open.html.erb index 141a5fea1..ba78c50a8 100644 --- a/app/views/legislation/processes/phase_not_open.html.erb +++ b/app/views/legislation/processes/phase_not_open.html.erb @@ -4,16 +4,11 @@ <%= render 'legislation/processes/key_dates', process: @process, phase: @phase %> -
-
-
-
-
-

<%= t('.not_open') %>

-
- -
-
+
+
+
+
+

<%= t('.not_open') %>