From 76ec44a8105b3f080da7c0f1607b7210b1227814 Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 5 Oct 2018 17:46:45 +0200 Subject: [PATCH] Adds styles to communities views --- app/views/communities/_poll.html.erb | 15 ++++--- app/views/communities/_subnav.html.erb | 15 ++++--- app/views/communities/show.html.erb | 19 ++++---- app/views/dashboard/_comment.html.erb | 6 +-- app/views/dashboard/community.html.erb | 60 ++++++++++++++++---------- 5 files changed, 72 insertions(+), 43 deletions(-) diff --git a/app/views/communities/_poll.html.erb b/app/views/communities/_poll.html.erb index b55a85b85..6239a5cca 100644 --- a/app/views/communities/_poll.html.erb +++ b/app/views/communities/_poll.html.erb @@ -1,5 +1,10 @@ -<%= link_to poll do %> - <%= poll.title %> -<% end %> -

<%= t('.take_part', from: l(poll.starts_at.to_date), to:(poll.ends_at.to_date)) %>

-
+
+

+ <%= link_to poll.title, poll %> +

+ +

+ <%= t("communities.poll.take_part", + from: l(poll.starts_at.to_date), to:(poll.ends_at.to_date)) %> +

+
diff --git a/app/views/communities/_subnav.html.erb b/app/views/communities/_subnav.html.erb index fbfa73f2b..be2b6ed30 100644 --- a/app/views/communities/_subnav.html.erb +++ b/app/views/communities/_subnav.html.erb @@ -1,6 +1,11 @@
-