150 lines
5.4 KiB
Plaintext
150 lines
5.4 KiB
Plaintext
<div class="pull-right">
|
|
<%= link_to 'Edit Campaign', edit_campaign_path(@campaign.listingcode) %> |
|
|
<%= link_to 'Back to Campaigns', campaigns_path %>
|
|
</div>
|
|
<h1><%= @campaign.advertisername %></h1>
|
|
<hr>
|
|
<p id="notice"><%= notice %></p>
|
|
<div class="row">
|
|
<div class="col-md-8">
|
|
<ul>
|
|
<% unless @campaign.listingcode.blank? %>
|
|
<li>
|
|
<p><strong>Listing Code</strong><br>
|
|
<%= @campaign.listingcode %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.description.blank? %>
|
|
<li>
|
|
<p><strong>Description</strong><br>
|
|
<%= @campaign.description %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.productsandservices.blank? %>
|
|
<li>
|
|
<p><strong>Products & Services</strong><br>
|
|
<%= @campaign.productsandservices %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.websiteurl.blank? %>
|
|
<li>
|
|
<p><strong>Websiteurl</strong><br>
|
|
<%= @campaign.websiteurl %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.vpa.blank? %>
|
|
<li>
|
|
<p><strong>Client Services Rep</strong><br>
|
|
<%= @campaign.vpa %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.vpa_email.blank? %>
|
|
<li>
|
|
<p><strong>Client Services Rep Email</strong><br>
|
|
<%= @campaign.vpa_email %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.billingcode.blank? %>
|
|
<li>
|
|
<p><strong>Billing Code</strong><br>
|
|
<%= @campaign.billingcode %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.emailaddress.blank? %>
|
|
<li>
|
|
<p><strong>Email Address</strong><br>
|
|
<%= @campaign.emailaddress %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.businessphone.blank? %>
|
|
<li>
|
|
<p><strong>Business Phone</strong><br>
|
|
<%= number_to_phone @campaign.businessphone %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.contactphone.blank? %>
|
|
<li>
|
|
<p><strong>Contact Phone</strong><br>
|
|
<%= number_to_phone @campaign.contactphone %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.customerfirstname.blank? %>
|
|
<li>
|
|
<p><strong>Customer First Name</strong><br>
|
|
<%= @campaign.customerfirstname %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.customerlastname.blank? %>
|
|
<li>
|
|
<p><strong>Customer Last Name</strong><br>
|
|
<%= @campaign.customerlastname %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.address.blank? %>
|
|
<li>
|
|
<p><strong>Address</strong><br>
|
|
<%= @campaign.address %></p>
|
|
</li>
|
|
<% end %>
|
|
<% if @campaign.city.blank? || @campaign.state || @campaign.zip %>
|
|
<li>
|
|
<p><strong>City, State, Zip</strong><br>
|
|
<%= @campaign.city %>, <%= us_states item: @campaign.state %>, <%= @campaign.zip %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.awards.blank? %>
|
|
<li>
|
|
<p><strong>Awards</strong><br>
|
|
<%= @campaign.awards %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.background.blank? %>
|
|
<li>
|
|
<p><strong>Background</strong><br>
|
|
<%= @campaign.background %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.categories.blank? %>
|
|
<li>
|
|
<p><strong>Industry Categories</strong><br>
|
|
<%= @campaign.categories %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.companycolors.blank? %>
|
|
<li>
|
|
<p><strong>Company Colors</strong><br>
|
|
<%= @campaign.companycolors %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.facebookurl.blank? %>
|
|
<li>
|
|
<p><strong>Facebook URL</strong><br>
|
|
<%= @campaign.facebookurl %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.targetaudience.blank? %>
|
|
<li>
|
|
<p><strong>Target Audience</strong><br>
|
|
<%= @campaign.targetaudience %></p>
|
|
</li>
|
|
<% end %>
|
|
<% unless @campaign.tollfreephone.blank? %>
|
|
<li>
|
|
<p><strong>Tollfree Phone</strong><br>
|
|
<%= @campaign.tollfreephone %></p>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
<div class="col-md-4 videolisting">
|
|
<ul class="blue-box-container">
|
|
<% @campaign.videolistings.each do |videolisting| %>
|
|
<li class="blue-box"><%= render 'videolisting', videolisting: videolisting %></li>
|
|
<% end %>
|
|
<% if @campaign.videolistings.blank? %>
|
|
<li><p>No Video Listings for this Campaign.</p></li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
</div>
|