diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss
index 3f5daf8e2..8c1529531 100644
--- a/app/assets/stylesheets/participation.scss
+++ b/app/assets/stylesheets/participation.scss
@@ -1372,9 +1372,13 @@ ul.ballot-list {
.dates {
color: $text-medium;
font-size: $small-font-size;
+
+ @include breakpoint(medium) {
+ float: right;
+ }
}
- h3 a {
+ h4 a {
color: $text;
}
}
@@ -1383,6 +1387,12 @@ h2.questions-callout {
font-size: $base-font-size;
}
+h3.section-title-divider {
+ border-bottom: 2px solid $brand;
+ color: $brand;
+ margin-bottom: $line-height;
+}
+
.poll-question {
padding: 0 $line-height;
diff --git a/app/views/polls/index.html.erb b/app/views/polls/index.html.erb
index 0d278a8ba..9b490f3e2 100644
--- a/app/views/polls/index.html.erb
+++ b/app/views/polls/index.html.erb
@@ -15,12 +15,19 @@
+
<%= t("polls.index.no_geozone_restricted") %>
+
<%= t("polls.index.geozone_restricted") %>
<% @polls.each do |poll| %>
-
<%= link_to poll.name, poll %>
-
<%= poll_dates(poll) %>
+
<%= poll_dates(poll) %>
+
<%= link_to poll.name, poll %>
+
+ <% poll.questions.each do |question| %>
+ - <%= link_to question.title, question_path(question) %>
+ <% end %>
+
- <% if can? :answer, poll %>
- <%= link_to t("polls.index.participate_button"), poll, class: "button" %>
- <% else %>
- <%= link_to t("polls.index.view_button"), poll %>
- <% end %>
+ <%= link_to t("polls.index.participate_button"), poll, class: "button" %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index edf96a210..a28a93598 100755
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -403,7 +403,8 @@ en:
expired: "Expired"
title: "Polls"
participate_button: "Participate in this poll"
- view_button: "View details about this poll"
+ no_geozone_restricted: "All city"
+ geozone_restricted: "Districts"
show:
dates_title: "Participation dates"
cant_answer_not_logged_in: "You must %{signin} or %{signup} to participate."
diff --git a/config/locales/es.yml b/config/locales/es.yml
index ce5d328c5..d6d819fe8 100755
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -403,7 +403,8 @@ es:
expired: "Terminadas"
title: "Votaciones"
participate_button: "Participar en esta votación"
- view_button: "Ver detalles de la votación"
+ no_geozone_restricted: "Toda la ciudad"
+ geozone_restricted: "Distritos"
show:
dates_title: "Fechas de participación"
cant_answer_not_logged_in: "Necesitas %{signin} o %{signup} para participar."