Changeset 1291

Show
Ignore:
Timestamp:
01/13/07 19:44:08 (2 years ago)
Author:
james
Message:

sale tag on product preview

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • peasantonline/app/views/catalog/_product_list.rhtml

    r1231 r1291  
    77                <%= link_to '<img src="/images/interface/spacer.png" height="143" width="170" border="0"/>', :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
    88                <div class="product-holder-text"> 
    9                         <% if product.tag_names.include?("new_items") %><b class="new_arrival">New Arrival!</b><br/><% end %><%= link_to product.name, :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
     9                        <% if product.tag_names.include?("new_items") %><b class="special-tag">New Arrival!</b><br/><% end %> 
     10                        <% if product.tag_names.include?("sale") %><b class="special-tag">Now On Sale!</b><br/><% end %> 
     11                                <%= link_to product.name, :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
    1012                        <%= product.short_description %> 
    1113                </div> 
  • peasantonline/public/stylesheets/catalog.css

    r1259 r1291  
    229229} 
    230230 
    231 .new_arrival
     231.special-tag
    232232        padding: 0px 2px; 
    233233        background-color: #660000;