2014-04-25 15:50:37 +00:00
|
|
|
<div class="pull-right">
|
|
|
|
<%= link_to 'Edit Campaign', edit_campaign_path(@campaign.listingcode) %> |
|
|
|
|
<%= link_to 'Back to Campaigns', campaigns_path %>
|
2014-04-22 19:22:36 +00:00
|
|
|
</div>
|
2014-04-25 15:50:37 +00:00
|
|
|
<h1><%= @campaign.advertisername %></h1>
|
|
|
|
<hr>
|
|
|
|
<p id="notice"><%= notice %></p>
|
|
|
|
<div class="row">
|
2014-04-25 16:28:59 +00:00
|
|
|
<div class="col-md-8">
|
2014-04-25 15:50:37 +00:00
|
|
|
<ul>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.listingcode.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Listing Code</strong><br>
|
|
|
|
<%= @campaign.listingcode %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.description.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Description</strong><br>
|
|
|
|
<%= @campaign.description %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.productsandservices.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Products & Services</strong><br>
|
|
|
|
<%= @campaign.productsandservices %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.websiteurl.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Websiteurl</strong><br>
|
|
|
|
<%= @campaign.websiteurl %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.vpa.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
2014-07-02 18:30:08 +00:00
|
|
|
<p><strong>MIS Rep</strong><br>
|
2014-04-25 16:13:44 +00:00
|
|
|
<%= @campaign.vpa %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-05-05 18:07:33 +00:00
|
|
|
<% unless @campaign.vpa_email.blank? %>
|
|
|
|
<li>
|
2014-07-02 18:30:08 +00:00
|
|
|
<p><strong>MIS Rep Email</strong><br>
|
2014-05-05 18:07:33 +00:00
|
|
|
<%= @campaign.vpa_email %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.emailaddress.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Email Address</strong><br>
|
|
|
|
<%= @campaign.emailaddress %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.businessphone.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Business Phone</strong><br>
|
|
|
|
<%= number_to_phone @campaign.businessphone %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.address.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Address</strong><br>
|
|
|
|
<%= @campaign.address %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% if @campaign.city.blank? || @campaign.state || @campaign.zip %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>City, State, Zip</strong><br>
|
|
|
|
<%= @campaign.city %>, <%= us_states item: @campaign.state %>, <%= @campaign.zip %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.awards.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Awards</strong><br>
|
|
|
|
<%= @campaign.awards %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.background.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Background</strong><br>
|
|
|
|
<%= @campaign.background %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.categories.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Industry Categories</strong><br>
|
|
|
|
<%= @campaign.categories %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.companycolors.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Company Colors</strong><br>
|
|
|
|
<%= @campaign.companycolors %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.facebookurl.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Facebook URL</strong><br>
|
|
|
|
<%= @campaign.facebookurl %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.targetaudience.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Target Audience</strong><br>
|
|
|
|
<%= @campaign.targetaudience %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% unless @campaign.tollfreephone.blank? %>
|
2014-04-25 16:13:44 +00:00
|
|
|
<li>
|
|
|
|
<p><strong>Tollfree Phone</strong><br>
|
|
|
|
<%= @campaign.tollfreephone %></p>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2014-04-25 15:50:37 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2014-04-25 16:28:59 +00:00
|
|
|
<div class="col-md-4 videolisting">
|
|
|
|
<ul class="blue-box-container">
|
2014-04-25 15:50:37 +00:00
|
|
|
<% @campaign.videolistings.each do |videolisting| %>
|
2014-04-25 16:28:59 +00:00
|
|
|
<li class="blue-box"><%= render 'videolisting', videolisting: videolisting %></li>
|
2014-04-25 15:50:37 +00:00
|
|
|
<% end %>
|
2014-04-25 20:35:42 +00:00
|
|
|
<% if @campaign.videolistings.blank? %>
|
2014-04-25 15:50:37 +00:00
|
|
|
<li><p>No Video Listings for this Campaign.</p></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-04-22 16:52:28 +00:00
|
|
|
</div>
|