From 12e6b9e681ac91e743d3dbd3491d1a5aa13bdc23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Wed, 6 Sep 2017 19:11:28 +0200 Subject: [PATCH] Added video link to question public view --- app/assets/stylesheets/participation.scss | 1 + app/views/polls/questions/show.html.erb | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index e10c0327f..3c37e9657 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -314,6 +314,7 @@ .debate-show, .proposal-show, +.poll-question-show, .investment-project-show, .budget-investment-show, .polls-show, diff --git a/app/views/polls/questions/show.html.erb b/app/views/polls/questions/show.html.erb index a11ea5bd7..bab6605d9 100644 --- a/app/views/polls/questions/show.html.erb +++ b/app/views/polls/questions/show.html.erb @@ -55,6 +55,19 @@ +<% if @question.video_url.present? %> +
+ +
+ +<% end %> +

<%= t('poll_questions.show.more_info') %>