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

48 lines
1.4 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-05-02 15:31:09 +00:00
<% unless videolisting.clientprovidedscript.blank? %>
2014-04-25 16:13:44 +00:00
<li>
<p><strong>Client Provided Script</strong><br>
<%= videolisting.clientprovidedscript %></p>
</li>
<% end %>
2014-05-02 16:53:12 +00:00
<% unless videolisting.toneofvideo.blank? %>
<li>
<p><strong>Tone of Video</strong><br>
<%= videolisting.toneofvideo %></p>
</li>
<% end %>
2014-05-02 15:31:09 +00:00
<% unless videolisting.notes.blank? %>
2014-04-25 16:13:44 +00:00
<li>
<p><strong>Production Notes</strong><br>
2014-05-06 19:58:09 +00:00
<%= simple_format(videolisting.notes) %></p>
2014-04-25 16:13:44 +00:00
</li>
<% end %>
2014-05-02 15:31:09 +00:00
<% unless videolisting.asseturls.blank? %>
2014-04-25 16:13:44 +00:00
<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>