changed some subnav wording around

This commit is contained in:
Bret Haynie 2014-04-24 22:02:21 -04:00
parent ca2c204b67
commit 4ae85e69b4
3 changed files with 106 additions and 101 deletions

View File

@ -1,6 +1,10 @@
<%= link_to 'Show', campaign_path(@campaign.listingcode) %> | <div class="container">
<%= link_to 'Back', campaigns_path %> <section>
<%= link_to 'Cancel Edit', campaign_path(@campaign.listingcode) %>
<!-- <%= link_to 'Back', campaigns_path %> -->
<h1>Editing <%= @campaign.advertisername %></h1> <h1>Edit <%= @campaign.advertisername %></h1>
<%= render 'form' %> <%= render 'form' %>
</section>
</div>

View File

@ -1,6 +1,6 @@
<div class="container"> <div class="container">
<section> <section>
<h1>Listing Campaigns</h1> <h1>Campaigns</h1>
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>

View File

@ -1,8 +1,7 @@
<br><br><br> <div class="container">
<%= link_to 'Edit', edit_campaign_path(@campaign.listingcode) %> | <section>
<%= link_to 'Back', campaigns_path %> <%= link_to 'Edit Campaign', edit_campaign_path(@campaign.listingcode) %>
<!-- <%= link_to 'Back', campaigns_path %> -->
<div class="col-md-12"> <div class="col-md-12">
<h1> <h1>
<%= @campaign.advertisername %> <%= @campaign.advertisername %>
@ -10,96 +9,98 @@
<p id="notice"><%= notice %></p> <p id="notice"><%= notice %></p>
</div> </div>
<div class="col-md-4 col-md-offset-1 col-xs-6"> <div class="col-md-4 col-md-offset-1 col-xs-6">
<span class="campaign-item"> <span class="campaign-item">
<strong>Listing Code</strong> <strong>Listing Code</strong>
<span><%= @campaign.listingcode %></span> <span><%= @campaign.listingcode %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Description</strong> <strong>Description</strong>
<span><%= @campaign.description %></span> <span><%= @campaign.description %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Products & Services</strong> <strong>Products & Services</strong>
<span><%= @campaign.productsandservices %></span> <span><%= @campaign.productsandservices %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Websiteurl</strong> <strong>Websiteurl</strong>
<span><%= @campaign.websiteurl %></span> <span><%= @campaign.websiteurl %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Client Services Rep</strong> <strong>Client Services Rep</strong>
<span><%= @campaign.vpa %></span> <span><%= @campaign.vpa %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Billing Code</strong> <strong>Billing Code</strong>
<span><%= @campaign.billingcode %></span> <span><%= @campaign.billingcode %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Email Address</strong> <strong>Email Address</strong>
<span><%= @campaign.emailaddress %></span> <span><%= @campaign.emailaddress %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Business Phone</strong> <strong>Business Phone</strong>
<span><%= number_to_phone @campaign.businessphone %></span> <span><%= number_to_phone @campaign.businessphone %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Contact Phone</strong> <strong>Contact Phone</strong>
<span><%= number_to_phone @campaign.contactphone %></span> <span><%= number_to_phone @campaign.contactphone %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Customer First Name</strong> <strong>Customer First Name</strong>
<span><%= @campaign.customerfirstname %></span> <span><%= @campaign.customerfirstname %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Customer Last Name</strong> <strong>Customer Last Name</strong>
<span><%= @campaign.customerlastname %></span> <span><%= @campaign.customerlastname %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Address</strong> <strong>Address</strong>
<span><%= @campaign.address %></span> <span><%= @campaign.address %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>City, State, Zip</strong> <strong>City, State, Zip</strong>
<span><%= @campaign.city %>, <%= us_states item: @campaign.state %>, <%= @campaign.zip %></span> <span><%= @campaign.city %>, <%= us_states item: @campaign.state %>, <%= @campaign.zip %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Awards</strong> <strong>Awards</strong>
<span><%= @campaign.awards %></span> <span><%= @campaign.awards %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Background</strong> <strong>Background</strong>
<span><%= @campaign.background %></span> <span><%= @campaign.background %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Industry Categories</strong> <strong>Industry Categories</strong>
<span><%= @campaign.categories %></span> <span><%= @campaign.categories %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Company Colors</strong> <strong>Company Colors</strong>
<span><%= @campaign.companycolors %></span> <span><%= @campaign.companycolors %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Facebook URL</strong> <strong>Facebook URL</strong>
<span><%= @campaign.facebookurl %></span> <span><%= @campaign.facebookurl %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Target Audience</strong> <strong>Target Audience</strong>
<span><%= @campaign.targetaudience %></span> <span><%= @campaign.targetaudience %></span>
</span> </span>
<span class="campaign-item"> <span class="campaign-item">
<strong>Tollfree Phone</strong> <strong>Tollfree Phone</strong>
<span><%= @campaign.tollfreephone %></span> <span><%= @campaign.tollfreephone %></span>
</span> </span>
</div>
<div class="col-md-4 col-xs-6">
<ul>
<% @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> </div>
<div class="col-md-4 col-xs-6">
<ul>
<% @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>
</section>
</div>