vidpush/app/views/campaigns/_videolisting.html.erb
2014-05-02 12:53:12 -04:00

48 lines
1.4 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.blank? %>
<li>
<p><strong>Client Provided Script</strong><br>
<%= videolisting.clientprovidedscript %></p>
</li>
<% end %>
<% unless videolisting.toneofvideo.blank? %>
<li>
<p><strong>Tone of Video</strong><br>
<%= videolisting.toneofvideo %></p>
</li>
<% end %>
<% unless videolisting.notes.blank? %>
<li>
<p><strong>Production Notes</strong><br>
<%= videolisting.notes %></p>
</li>
<% end %>
<% unless videolisting.asseturls.blank? %>
<li>
<p><strong>asseturls</strong><br />
<% videolisting.asseturls_array.each do |asset| %>
<%= asset[:asseturl] %><br />
<% end %>
</p>
</li>
<% end %>
</ul>