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

105 lines
3.6 KiB
Plaintext
Raw Normal View History

<%= link_to 'Edit', edit_campaign_path(@campaign.listingcode) %> |
<%= link_to 'Back', campaigns_path %>
2014-04-22 19:22:36 +00:00
<div class="col-md-12">
<h1>
<%= @campaign.advertisername %>
</h1>
<p id="notice"><%= notice %></p>
</div>
2014-04-22 19:22:36 +00:00
<div class="col-md-4 col-md-offset-1 col-xs-6">
<span class="campaign-item">
<strong>Listing Code</strong>
<span><%= @campaign.listingcode %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Description</strong>
<span><%= @campaign.description %></span>
</span>
<span class="campaign-item">
<strong>Products & Services</strong>
<span><%= @campaign.productsandservices %></span>
</span>
<span class="campaign-item">
<strong>Websiteurl</strong>
<span><%= @campaign.websiteurl %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Client Services Rep</strong>
<span><%= @campaign.vpa %></span>
</span>
<span class="campaign-item">
<strong>Billing Code</strong>
<span><%= @campaign.billingcode %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Email Address</strong>
<span><%= @campaign.emailaddress %></span>
</span>
<span class="campaign-item">
<strong>Business Phone</strong>
<span><%= number_to_phone @campaign.businessphone %></span>
</span>
<span class="campaign-item">
<strong>Contact Phone</strong>
<span><%= number_to_phone @campaign.contactphone %></span>
</span>
<span class="campaign-item">
<strong>Customer First Name</strong>
<span><%= @campaign.customerfirstname %></span>
</span>
<span class="campaign-item">
<strong>Customer Last Name</strong>
<span><%= @campaign.customerlastname %></span>
</span>
<span class="campaign-item">
<strong>Address</strong>
<span><%= @campaign.address %></span>
</span>
<span class="campaign-item">
<strong>City, State, Zip</strong>
<span><%= @campaign.city %>, <%= us_states item: @campaign.state %>, <%= @campaign.zip %></span>
</span>
2014-04-22 19:22:36 +00:00
<span class="campaign-item">
<strong>Awards</strong>
<span><%= @campaign.awards %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Background</strong>
<span><%= @campaign.background %></span>
</span>
<span class="campaign-item">
2014-04-23 21:59:19 +00:00
<strong>Industry Categories</strong>
2014-04-22 19:22:36 +00:00
<span><%= @campaign.categories %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Company Colors</strong>
<span><%= @campaign.companycolors %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Facebook URL</strong>
<span><%= @campaign.facebookurl %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Target Audience</strong>
<span><%= @campaign.targetaudience %></span>
</span>
<span class="campaign-item">
2014-04-22 19:22:36 +00:00
<strong>Tollfree Phone</strong>
<span><%= @campaign.tollfreephone %></span>
</span>
</div>
2014-04-22 19:22:36 +00:00
<div class="col-md-4 col-xs-6">
<ul>
2014-04-22 19:22:36 +00:00
<% @campaign.videolistings.each do |videolisting| %>
<%= render 'videolisting', videolisting: videolisting %>
<% end %>
<% if @campaign.videolistings.empty? %>
<li>No Video Listings for this Campaign.</li>
<% end %>
</ul>
</div>