improves styles for external links on proposal show

This commit is contained in:
decabeza
2017-08-25 13:45:50 +02:00
parent 7d95edf93e
commit e85c71fe9a
5 changed files with 26 additions and 15 deletions

View File

@@ -77,14 +77,23 @@
<% if @proposal.external_url.present? %>
<div class="document-link">
<%= text_with_links @proposal.external_url %>
<p>
<span class="icon-document"></span>&nbsp;
<strong><%= t('proposals.show.title_external_url') %></strong>
</p>
<%= text_with_links @proposal.external_url %>
</div>
<% end %>
<% if @proposal.video_url.present? %>
<div class="video-link">
<p>
<span class="icon-video"></span>&nbsp;
<strong><%= t('proposals.show.title_video_url') %></strong>
</p>
<%= text_with_links @proposal.video_url %>
</div>
<% end %>
<h4><%= @proposal.question %></h4>