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

147 lines
2.9 KiB
Plaintext
Raw Normal View History

<%= link_to 'Edit', edit_campaign_path(@campaign.clientid) %> |
<%= link_to 'Back', campaigns_path %>
<div class="col-md-2"></div>
<div class="col-md-4">
2014-04-07 21:24:08 +00:00
<p id="notice"><%= notice %></p>
<p>
<strong>Clientid:</strong>
<%= @campaign.clientid %>
</p>
<p>
<strong>Listingcode:</strong>
<%= @campaign.listingcode %>
</p>
<p>
<strong>Billingcode:</strong>
<%= @campaign.billingcode %>
</p>
<p>
<strong>Advertisername:</strong>
<%= @campaign.advertisername %>
</p>
<p>
<strong>Address1:</strong>
<%= @campaign.address1 %>
</p>
<p>
<strong>Address2:</strong>
<%= @campaign.address2 %>
</p>
<p>
<strong>City:</strong>
<%= @campaign.city %>
</p>
<p>
<strong>State:</strong>
<%= @campaign.state %>
</p>
<p>
<strong>Zip:</strong>
<%= @campaign.zip %>
</p>
<p>
<strong>Emailaddress:</strong>
<%= @campaign.emailaddress %>
</p>
<p>
<strong>Customerfirstname:</strong>
<%= @campaign.customerfirstname %>
</p>
<p>
<strong>Customerlastname:</strong>
<%= @campaign.customerlastname %>
</p>
<p>
<strong>Salesrep:</strong>
<%= @campaign.salesrep %>
</p>
<p>
<strong>Salesrepemail:</strong>
<%= @campaign.salesrepemail %>
</p>
<p>
<strong>Businessphone:</strong>
<%= @campaign.businessphone %>
</p>
<p>
<strong>Contactphone:</strong>
<%= @campaign.contactphone %>
</p>
<p>
<strong>Websiteurl:</strong>
<%= @campaign.websiteurl %>
</p>
</div>
<div class="col-md-4">
2014-04-07 21:24:08 +00:00
<ul>
<% @campaign.videolistings.each do |vl| %>
<li>
<p>
<strong>videocode</strong>
<%= vl.videocode %>
</p>
<p>
<strong>producttypeid</strong>
<%= vl.producttypeid %>
</p>
<p>
<strong>remoteassetsarchive</strong>
<%= vl.remoteassetsarchive %>
</p>
<p>
<strong>voiceoverselection</strong>
<%= vl.voiceoverselection %>
</p>
<p>
<strong>musicselection</strong>
<%= vl.musicselection %>
</p>
<p>
<strong>clientprovidedscript</strong>
<%= vl.clientprovidedscript %>
</p>
<p>
<strong>keywords</strong>
<%= vl.keywords %>
</p>
<p>
<strong>focus</strong>
<%= vl.focus %>
</p>
<p>
<strong>notes</strong>
<%= vl.notes %>
</p>
<p>
<strong>asseturls</strong>
<%= vl.asseturls %>
</p>
</li>
<% end %>
2014-04-08 19:27:38 +00:00
<% if @campaign.videolistings.empty? %>
No Video Listings for this Campaign.
<% end %>
2014-04-07 21:24:08 +00:00
</ul>
</div>
<div class="col-md-2"></div>