Change user list view instruction. Don't show "Next >" disabled greyed text in the list pagination if there is only one page.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Tue, 23 Sep 2008 17:55:54 +0000
changeset 187 2c0a497b2b2a
parent 186 da76f08b1752
child 188 27ed1a09c98d
Change user list view instruction. Don't show "Next >" disabled greyed text in the list pagination if there is only one page.
app/soc/templates/soc/list/list_pagination.html
app/soc/templates/soc/site/user/list/all.html
--- a/app/soc/templates/soc/list/list_pagination.html	Mon Sep 22 14:13:32 2008 +0000
+++ b/app/soc/templates/soc/list/list_pagination.html	Tue Sep 23 17:55:54 2008 +0000
@@ -7,5 +7,5 @@
   {% endif %}
   <b>{{ first }}{% if last %} - {{ last }}{% endif %}</b>
   {% if next %}<a class="novisit" href="{{next}}">Next &rsaquo;</a>
-  {% else %}<span style="color:gray">Next &rsaquo;</span>{% endif %}
+  {% endif %}
 </div>
\ No newline at end of file
--- a/app/soc/templates/soc/site/user/list/all.html	Mon Sep 22 14:13:32 2008 +0000
+++ b/app/soc/templates/soc/site/user/list/all.html	Tue Sep 23 17:55:54 2008 +0000
@@ -23,7 +23,7 @@
 <p>
 <p>
 {% block instructions %}
-List of an existing Users in Google Open Source Programs.
+List of Users in Google Open Source Programs.
 {% endblock %}
 </p>
 {% include list_main %}