vidpush/app/views/campaigns/_videolisting.html.erb

42 lines
1.2 KiB
Plaintext
Raw Normal View History

<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>
2014-04-25 16:13:44 +00:00
</li>
<li>
<p><strong>Voiceover Selection</strong><br>
<%= voiceoverselection_list item:videolisting.voiceoverselection %></p>
2014-04-25 16:13:44 +00:00
</li>
<li>
<p><strong>Music Selection</strong><br>
<%= musicselection_list item:videolisting.musicselection %></p>
</li>
2014-04-25 16:13:44 +00:00
<% 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>
2014-04-25 20:35:42 +00:00
<p><strong>asseturls</strong><br />
2014-04-25 16:13:44 +00:00
<% videolisting.asseturls_array.each do |asset| %>
2014-04-25 20:35:42 +00:00
<%= asset[:asseturl] %><br />
2014-04-25 16:13:44 +00:00
<% end %>
2014-04-25 20:35:42 +00:00
</p>
2014-04-25 16:13:44 +00:00
</li>
<% end %>
2014-04-25 16:15:23 +00:00
</ul>