Permalink
Browse files

Modified project_directory.html template to differentiate conflicting…

… cache directives.
  • Loading branch information...
1 parent 303e9e3 commit 9eea3adc56682a34067de95db009485b65b55e4c @peeb peeb committed Aug 9, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 akvo/templates/rsr/project_directory.html
@@ -93,7 +93,7 @@ <h2 class="lightx2">{% trans 'Location' %}</h2>
<div style="width:172px;">
{% funding_box_march_directory showcase %}
<span style="color:#999; font-size:10px; font-weight:normal; margin-left:20px; display:none;"><span style="display:none;">{% counter showcase %}</span>
- {% cache 10 p.view_count %}
+ {% cache 10 showcase_view_count %}
{{ showcase.view_count|intcomma }} {% trans 'views' %}
{% endcache %}
</span>
@@ -240,8 +240,8 @@ <h2 class="lightx2">{% trans 'Location' %}</h2>
<div style="clear: left;">
<div style="padding-top: 5px">{% category_icons p %}</div>
</div>
- {% cache 10 p.view_count %}
- <p style="margin-top:6px; padding:0; color:#999;display:none;">
+ {% cache 10 project_listing_view_count %}
+ <p style="margin-top:6px; padding:0; color:#999; display:none;">
{{ p.view_count|intcomma }} views
</p>
{% endcache %}

0 comments on commit 9eea3ad

Please sign in to comment.