A plethora of fixes to make this more usable on non-mobile devices; should gracefully degrade a bit better now... if it can't get any GPS coordinates, the user can enter an address and bypass that requirement, and we'll do a reverse lookup and get some GPS coordinates based on said address. Users can also now view the checkin history of other people - someone wanna implement friendships/privacy? We have an open source 4Square here. ;D

This commit is contained in:
Ryan McGrath 2010-10-29 05:10:41 -04:00
parent c17458cc8a
commit d503e3fe08
11 changed files with 223 additions and 116 deletions

View file

@ -0,0 +1,22 @@
{% extends "base.html" %}
{% block extra_head %}
{% endblock %}
{% block content %}
<h2>Where has {{ redditor.username }} been?</h2>
<ul id="results">
{% for checkin in redditor.checkin_set.all %}
<li class="top_level">
<h3>{{ checkin.location.name }} <span class="checkin_list_timestamp">{{ checkin.timestamp|timesince }} ago</span></h3>
<a href="/locations/{{ checkin.location.id }}/" class="anchored_action button orange_button">View Location</a>
<ul>
<li><strong>Was identifiable by:</strong> {{ checkin.identify_by }}</li>
<li><strong>Was there for:</strong> {{ checkin.estimated_time_here }}</li>
</ul>
</li>
{% endfor %}
</ul>
{% endblock %}