Skip to content

Commit

Permalink
UPGADE 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrancken@gmail.com committed Apr 5, 2014
1 parent 8bcda97 commit b90d496
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/PriceListPage.php
Expand Up @@ -122,7 +122,7 @@ class PriceListPage_Controller extends ProductGroup_Controller {

function init(){
parent::init();
Requirements::themedCSS("PriceListPage");
Requirements::themedCSS("PriceListPage", "ecommerce_complex_pricing");
}

}
Expand Down
8 changes: 5 additions & 3 deletions templates/Layout/PriceListPage.ss
Expand Up @@ -10,13 +10,15 @@
<% if Products %>
<div id="PriceList" class="category">
<div class="resultsBar">
<% if SortLinks %><span class="sortOptions"><% _t('ProductGroup.SORTBY','Sort by') %> <% with/loop SortLinks %><a href="$Link" class="sortlink $Current">$Name</a> <% end_with/loop %></span><% end_if %>
<% if SortLinks %><span class="sortOptions"><% _t('ProductGroup.SORTBY','Sort by') %>
<% loop SortLinks %><a href="$Link" class="sortlink $Current">$Name</a> <% end_loop %></span>
<% end_if %>
</div>
<table summary="price list">
<thead></thead>
<tfoot></tfoot>
<tbody>
<% with/loop Products %>
<% loop Products %>
<tr>
<th scope="row" class="$EvenOdd">
<div class="inner">
Expand All @@ -30,7 +32,7 @@
</div>
</td>
</tr>
<% end_with/loop %>
<% end_loop %>
</tbody>
</table>
<% include ProductGroupPagination %>
Expand Down

0 comments on commit b90d496

Please sign in to comment.