community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r894237 - /comdev/nearby_people/templates/people.html
Date Mon, 28 Dec 2009 19:55:19 GMT
Author: rgardler
Date: Mon Dec 28 19:55:18 2009
New Revision: 894237

URL: http://svn.apache.org/viewvc?rev=894237&view=rev
Log:
Use uid instead of name for array index

Modified:
    comdev/nearby_people/templates/people.html

Modified: comdev/nearby_people/templates/people.html
URL: http://svn.apache.org/viewvc/comdev/nearby_people/templates/people.html?rev=894237&r1=894236&r2=894237&view=diff
==============================================================================
--- comdev/nearby_people/templates/people.html (original)
+++ comdev/nearby_people/templates/people.html Mon Dec 28 19:55:18 2009
@@ -37,7 +37,7 @@
             marker = createMarker("{{person.name}}",{{person.latitude}},
                          {{person.longitude}},"{{person.link}}");
             map.addOverlay(marker);
-            markers["{{person.name}}"] = marker;
+            markers["{{person.uid}}"] = marker;
         {% endfor %}
 
         // Add the search marker
@@ -94,7 +94,7 @@
 {% if people %}
 	<ul id="list">
 	  {% for dist, person in people %}
-		<li><a href="javascript:panTo('{{person.name}}')">{{person.name}}</a>
- {{dist|distanceformat}} - <a href="{{person.link}}">(info)</a></li>
+		<li><a href="javascript:panTo('{{person.uid}}')">{{person.name}}</a>
- {{dist|distanceformat}} - <a href="{{person.link}}">(info)</a></li>
 	  {% endfor %}
 	</ul>
 



Mime
View raw message