Permalink
Browse files

Added links to Open / Closed issues in sidebar

  • Loading branch information...
1 parent 8df859e commit 5619b1a8e5a62eec953beef302a2ca99b5c3ce07 @deplorableword deplorableword committed Apr 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/application/views/project/sidebar.php
@@ -9,8 +9,8 @@
</h2>
<ul>
- <li><strong><?php echo Project::current()->issues()->where('status', '=', 1)->count(); ?></strong> Open Issues</li>
- <li><strong><?php echo Project::current()->issues()->where('status', '=', 0)->count(); ?></strong> Closed Issues</li>
+ <li><a href="<?php echo Project::current()->to('issues'); ?>"><?php echo Project::current()->issues()->where('status', '=', 1)->count(); ?> Open Issues</a></li>
+ <li><a href="<?php echo Project::current()->to('issues'); ?>?status=0"><?php echo Project::current()->issues()->where('status', '=', 0)->count(); ?> Closed Issues</a></li>
</ul>
<h2>

0 comments on commit 5619b1a

Please sign in to comment.