Resolved the filtering issue.

git-svn-id: http://svn.cleancode.org/svn/pickles@137 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
Josh Sherman 2009-06-18 02:41:12 +00:00
parent 94f2611b48
commit eaa2c2d1da
3 changed files with 13 additions and 9 deletions

View file

@ -95,9 +95,10 @@ class Display_Smarty extends Display_Common {
if (!file_exists($template)) {
$shared_template = PICKLES_PATH . 'common/templates/' . ($this->shared_module_filename == false ? $this->module_filename : $this->shared_module_filename) . '.tpl';
// $shared_template = PICKLES_PATH . 'common/templates/' . ($this->shared_filname == false ? $this->module_filename : $this->shared_filename) . '.tpl';
// @todo SUPER HACKINSHIT
if ($this->module_filename == 'store/admin') {
if (strstr($this->module_filename, 'store/admin')) {
$shared_template = PICKLES_PATH . 'common/templates/store/admin.tpl';
}

View file

@ -95,6 +95,9 @@
to
{html_select_date prefix='valid_to_'}
</dd>
<dt>
</dt>
</dl>
</div>
<br style="clear: left" />

View file

@ -11,13 +11,13 @@
<img src="/static/contrib/silk/icons/package.png" style="float: left; padding-right: 10px" />
<ol style="float: left">
<li><h3><a href="/store/admin/orders">Orders</a></h3></li>
<li>&nbsp; <a href="/store/admin/orders/pending">Pending</a></li>
<li>&nbsp; <a href="/store/admin/orders/approved">Approved</a></li>
<li>&nbsp; <a href="/store/admin/orders/partially-shipped">Partially Shipped</a></li>
<li>&nbsp; <a href="/store/admin/orders/shipped/completed">Shipped/Completed</a></li>
<li>&nbsp; <a href="/store/admin/orders/backorder">Backorder</a></li>
<li>&nbsp; <a href="/store/admin/orders/declined">Declined</a></li>
<li>&nbsp; <a href="/store/admin/orders/void">Void</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/pending">Pending</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/approved">Approved</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/partially-shipped">Partially Shipped</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/shipped/completed">Shipped/Completed</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/backorder">Backorder</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/declined">Declined</a></li>
<li>&nbsp; <a href="/store/admin/orders/filter/void">Void</a></li>
</ol>
</div>
<div style="float: left">