Skip to content

Commit

Permalink
Adding a link to ALL the tags!
Browse files Browse the repository at this point in the history
  • Loading branch information
illume committed Mar 22, 2017
1 parent 613ab93 commit 0787b18
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pygameweb/templates/project/tags_view.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% extends "base.html" %}

{% block title %}
ALL the Tags! - pygame
{% endblock title %}

{% block content %}
{% cache 60*5 %}
<h1>ALL the Tags!</h1>

{% for value, count, size in tag_counts -%}
<a href='/tags/{{value}}' class="btn btn-default" role="button">
{{value}}
<span class="badge">{{ count }}</span>
</a>
{% endfor -%}

{% endcache %}
{% endblock %}
2 changes: 2 additions & 0 deletions pygameweb/templates/recent-releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ <h2>Recent Releases</h2>
{% for value, count, size in top_tag_counts -%}
<a href='/tags/{{value}}' class="btn btn-default" role="button">{{value}} <span class="badge">{{ count }}</span></a>
{% endfor -%}
<br/><br/>
<a href='/tags' class="btn btn-default" role="button">ALL the tags!</a>
</div>

{% endcache %}

0 comments on commit 0787b18

Please sign in to comment.