vidpush/app/views/campaigns/_videolisting.html.erb
2014-04-28 14:16:43 -04:00

42 lines
1.2 KiB
Plaintext

<ul>
<% if videolisting.published %>
<li>
<p><strong>Published Video</strong><br>
<%= link_to "View Preview and Get Code", campaign_videolisting_path(@campaign.listingcode, videolisting.videocode) %>
</li>
<% end %>
<li>
<p><strong>Video Code</strong><br>
<%= videolisting.videocode %></p>
</li>
<li>
<p><strong>Voiceover Selection</strong><br>
<%= voiceoverselection_list item:videolisting.voiceoverselection %></p>
</li>
<li>
<p><strong>Music Selection</strong><br>
<%= musicselection_list item:videolisting.musicselection %></p>
</li>
<% unless videolisting.clientprovidedscript.empty? %>
<li>
<p><strong>Client Provided Script</strong><br>
<%= videolisting.clientprovidedscript %></p>
</li>
<% end %>
<% unless videolisting.notes.empty? %>
<li>
<p><strong>Production Notes</strong><br>
<%= videolisting.notes %></p>
</li>
<% end %>
<% unless videolisting.asseturls.empty? %>
<li>
<p><strong>asseturls</strong><br />
<% videolisting.asseturls_array.each do |asset| %>
<%= asset[:asseturl] %><br />
<% end %>
</p>
</li>
<% end %>
</ul>