damned-lies r1085 - in branches/djamnedlies: . stats templates



Author: stephaner
Date: Wed Oct 22 23:55:16 2008
New Revision: 1085
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1085&view=rev

Log:
2008-10-23  StÃphane Raimbault  <stephane raimbault gmail com>

	* stats/urls.py: Fixed argument for Team.
	* templates/person-base.html: Reverted missing webroot.


Modified:
   branches/djamnedlies/ChangeLog
   branches/djamnedlies/stats/urls.py
   branches/djamnedlies/templates/person-base.html

Modified: branches/djamnedlies/stats/urls.py
==============================================================================
--- branches/djamnedlies/stats/urls.py	(original)
+++ branches/djamnedlies/stats/urls.py	Wed Oct 22 23:55:16 2008
@@ -9,7 +9,7 @@
     (r'^teams/*$', 'teams'),
     (r'^teams/(?P<name>.*)$', 'team'),
     (r'^languages/*$', 'languages'),
-    (r'^languages/(?P<langcode>\w+)/$', 'team'),
+    (r'^languages/(?P<name>\w+)/$', 'team'),
     (r'^languages/(?P<langcode>\w+)/(?P<release_id>\d+)/$', 'languagerelease'),
     (r'^people/*$', 'people'),
     (r'^people/(?P<person_id>.*)$', 'person'),

Modified: branches/djamnedlies/templates/person-base.html
==============================================================================
--- branches/djamnedlies/templates/person-base.html	(original)
+++ branches/djamnedlies/templates/person-base.html	Wed Oct 22 23:55:16 2008
@@ -11,7 +11,7 @@
     <img class="people" src="/media/img/nobody.png" alt="" />
   {% endifnotequal %}
 
-  <a style="font-size: 140%;" href="/people/{{ person.id }}">{{ person.name }}</a><br />
+  <a style="font-size: 140%;" href="{{ webroot }}/people/{{ person.id }}">{{ person.name }}</a><br />
 
   {% if person.nospamemail %}
     <a href="mailto:{{ person.nospamemail }}">{{ person.nospamemail }}</a><br />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]