--- a/src/cm/templates/site/dashboard.html Wed Feb 10 14:05:24 2010 +0100
+++ b/src/cm/templates/site/dashboard.html Wed Feb 10 14:34:08 2010 +0100
@@ -256,7 +256,9 @@
<thead>
<tr>
<th>
- {% include "site/macros/paginator.html" %}
+ {% with "yes" as not_show_all%}
+ {% include "site/macros/paginator.html" %}
+ {% endwith %}
<span class="em">{% blocktrans %}Activities{% endblocktrans %}</span>
<br />
<span class="view_options">
--- a/src/cm/templates/site/macros/paginator.html Wed Feb 10 14:05:24 2010 +0100
+++ b/src/cm/templates/site/macros/paginator.html Wed Feb 10 14:34:08 2010 +0100
@@ -6,7 +6,7 @@
{% blocktrans with page_obj.start_index as sindex and page_obj.end_index as eindex and paginator.count as pcount %}{{ sindex }}-{{ eindex }} of {{ pcount }}{% endblocktrans %}
{% if page_obj.has_next %}<a title="{% blocktrans %}Next page{% endblocktrans %}" href="?{% newparams 'page' page_obj.next_page_number %}">»</a>{% else %} {% endif %}
- {% if page_obj.has_previous or page_obj.has_next %}(<a title="{% blocktrans %}View all{% endblocktrans %}" href="?{% newparams 'paginate' '0' %}">{% blocktrans %}all{% endblocktrans %}</a>){% endif %}
+ {% if not_show_all %}{% else %}{% if page_obj.has_previous or page_obj.has_next %}(<a title="{% blocktrans %}View all{% endblocktrans %}" href="?{% newparams 'paginate' '0' %}">{% blocktrans %}all{% endblocktrans %}</a>){% endif %}{% endif %}
{% else %}
(<a title="{% blocktrans %}paginate{% endblocktrans %}" href="?{% newparams 'paginate' '' %}">{% blocktrans %}paginate{% endblocktrans %}</a>)
{% endif %}