Added video link to question public view

This commit is contained in:
María Checa
2017-09-06 19:11:28 +02:00
parent 9f2522c106
commit 12e6b9e681
2 changed files with 14 additions and 0 deletions

View File

@@ -314,6 +314,7 @@
.debate-show,
.proposal-show,
.poll-question-show,
.investment-project-show,
.budget-investment-show,
.polls-show,

View File

@@ -55,6 +55,19 @@
</div>
</div>
<% if @question.video_url.present? %>
<div class='row margin-top poll-question-show'>
<div class="small-12 medium-9 column video-link">
<p>
<span class="icon-video"></span>&nbsp;
<strong><%= t('proposals.show.title_video_url') %></strong>
</p>
<%= text_with_links @question.video_url %>
</div>
</div>
<% end %>
<div class="row margin-top">
<div class="small-12 medium-9 column">
<h3><%= t('poll_questions.show.more_info') %></h3>