Skip to content

Commit

Permalink
updated filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Williams committed Jan 30, 2012
1 parent 5aa8b14 commit ec1c6e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ideas/index.html.liquid
@@ -1,15 +1,13 @@
{% if space.ideas != empty %}

{% if current_user %}
<div id="filters">
<span class="filter-label">Show:</span>
<ul>
<li><a href="/" class="all {% if filter == "own" %}{% else %}{% if sort == "like" %}{% else %}active{% endif %}{% endif %}" title="show all entries">All</a></li>
<li><a href="?filter=own" class="mine {% if filter == "own" %}active{% endif %}" title="show my entries">Mine</a></li>
{% if current_user %}<li><a href="?filter=own" class="mine {% if filter == "own" %}active{% endif %}" title="show my entries">Mine</a></li>{% endif %}
<li><a href="?sort=like" class="popular {% if sort == "like" %}active{% endif %}" title="show popular entries">Popular</a></li>
</ul>
</div>
{% endif %}

{% for idea in space.ideas %}
<!-- ENTRY -->
Expand Down

0 comments on commit ec1c6e1

Please sign in to comment.