]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-349
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 28 Jun 2010 17:10:24 +0000 (17:10 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 28 Jun 2010 17:10:24 +0000 (17:10 +0000)
Links to badges in the user profile page now use slugify.

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@468 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/users/stats.html

index 35c344adc5bb1145a8a855858f34f6cacbd4896f..d3806d91f8b46ab1566b994a4416a42a21c51ac5 100644 (file)
                 <tr>
                     <td width="180" style="line-height:35px">
                         {% for award, count in awards %}
-                            <a href="{% url badges %}{{award.id}}/{{award.name}}" title="{{ award.description }}" class="medal"><span class="badge{{ award.type }}">&#9679;</span>&nbsp;{{ award.name }}</a><span class="tag-number"> &#215; {{ count|intcomma }}</span><br/>
+                            <a href="{% url badges %}{{award.id}}/{{award.name|slugify}}" title="{{ award.description }}" class="medal"><span class="badge{{ award.type }}">&#9679;</span>&nbsp;{{ award.name }}</a><span class="tag-number"> &#215; {{ count|intcomma }}</span><br/>
                             {% if forloop.counter|divisibleby:"6" %}
                                 </td>
                                 <td width="180" style="line-height:35px">