From b41b4ee4bbc7ad0352169476bfa43a11d2e48ae0 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 30 Jun 2011 11:45:39 +0000 Subject: [PATCH] undoing changes made in commit #1080 git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1085 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- .../skins/default/templates/users/stats.html | 20 +++++++++---------- forum/views/readers.py | 3 ++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/forum/skins/default/templates/users/stats.html b/forum/skins/default/templates/users/stats.html index f2eb736..fe34b19 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -11,9 +11,9 @@ {% spaceless %}

{% blocktrans count questions.paginator.count as counter %} - {{counter}} {% trans "Question" %} + {{counter}} Question {% plural %} - {{counter}} {% trans "Questions" %} + {{counter}} Questions {% endblocktrans %} @@ -33,9 +33,9 @@ {% spaceless %}

{% blocktrans count answers.paginator.count as counter %} - {{counter}} {% trans "Answer" %} + {{counter}} Answer {% plural %} - {{counter}} {% trans "Answers" %} + {{counter}} Answers {% endblocktrans %}

{% endspaceless %} @@ -65,9 +65,9 @@ {% spaceless %}

{% blocktrans count total_votes as cnt %} - {{cnt}} {% trans "Vote" %} + {{cnt}} Vote {% plural %} - {{cnt}} {% trans "Votes" %} + {{cnt}} Votes {% endblocktrans %}

{% endspaceless %} @@ -91,9 +91,9 @@ {% spaceless %}

{% blocktrans count user_tags|length as counter %} - {{counter}} {% trans "Tag" %} + {{counter}} Tag {% plural %} - {{counter}} {% trans "Tags" %} + {{counter}} Tags {% endblocktrans %}

{% endspaceless %} @@ -120,9 +120,9 @@ {% spaceless %}

{% blocktrans count total_awards as counter %} - {{counter}} {% trans "Badge" %} + {{counter}} Badge {% plural %} - {{counter}} {% trans "Badges" %} + {{counter}} Badges {% endblocktrans %}

{% endspaceless %} diff --git a/forum/views/readers.py b/forum/views/readers.py index dccb05e..c88ba68 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -183,7 +183,8 @@ def question_list(request, initial, #answer_description = _("answers") if not feed_url: - req_params = generate_uri(request.GET, (_('page'), _('pagesize'), _('sort'))) + req_params = generate_uri(request.GET, (_('page'), _('pagesize'))) + if req_params: req_params = '&' + req_params -- 2.39.5