<commit_before>{capture assign="page_title"}history{if $when} | {$when}{/if}{/capture}
{capture assign="extra_head"}
<script type="text/javascript" src="{$cfg.abs_root_url}javascript/htmapl-standalone.min.js"></script> 
{/capture}
{include file="inc_head.txt"}

{if $deleted_checkin}
<div id="status" style="display:block;margin-bottom:15px;">
{if $deleted_checkin_venue}
Pow! Your checkin at <a href="{$deleted_checkin_venue|@urls_venue}">{$deleted_checkin_venue.name|escape}</a> has been deleted.
{else}
Okee dookee, your checkin has been deleted.
{/if}

{if $mock_checkin and $mock_checkin.checkin_id}
<div style="font-size:11px;margin-top:10px;">Keep in mind that this checkin <em>it is still sitting somewhere on their servers</em>. That's because there is no way to delete checkins using the foursquare API. You will need to <a href="{$mock_checkin|@foursquare_urls_checkin}" target="_foursquare">log in to the foursquare website</a> and delete the checkin by hand. Awesome, yeah?</div>
{/if}

</div>
{/if}

<div id="displaymap" class="map"  data-extent="{$geo_stats.bounding_box|@join:","|escape}" data-hash="false" data-interactive="false" data-provider="toner">
{foreach from=$checkins item="row"}
	<div class="marker marker-header" data-location="{$row.latitude|escape},{$row.longitude|escape}"><span class="marker-history-text"></span></div>
{/foreach}
</div>

{if $when}
<h3 class="header-right">{$when|escape}</h3>
{/if}

{foreach from=$checkins item="row"}
{assign var="status_id" value=$row.status_id}

<div id="history" class="checkin" data-venue="{$row.venue_id|escape}">

	{* TO DO: make the actual checkin link a float-y thing *}

	<h3 class="header-left" style="margin-bottom:5px;">
		<a href="{$row.venue|@urls_venue}">{$row.venue.name|escape}</a>
		<span class="header-loc"><a href="{$owner|@urls_places_for_user}{$row.locality.locality|escape}/">{$row.locality.name|escape}</a></span>
	</h3>

	<div class="date" data-created="{$row.created|escape}">

		{if $status_id}
		<q>you said {$status_map.$status_id|escape}</q>
		{else}
		<a href="{$owner|@urls_history_for_user}{$row.created|date_format:"%Y-%m-%d"|escape}" style="text-decoration:none;color:#000;">{$row.created|date_format:"%A, %B %e, %Y"|escape}</a> at {$row.created|date_format:"%k:%M"|escape}
		{/if}
		{if $row.weather} {include file="inc_weather_stringify.txt" weather=$row.weather}{/if}
	</div>

	<div class="map" data-zoom="14" data-center="{$row.venue.latitude|escape},{$row.venue.longitude|escape}" data-hash="false" data-interactive="false" data-provider="toner">
		<div class="marker marker-history" data-location="{$row.venue.latitude|escape},{$row.venue.longitude|escape}"><span class="marker-history-text">{$row.venue.name|escape}</span></div>
	</div>

	<div class="permalink">
	<a href="{$row|@urls_checkin}">permalink&#160;&#160;◻</a>
	</div>
</div>

{/foreach}

{include file="inc_pagination.txt"}

{include file="inc_export_links.txt"}

<script type="text/javascript">
$(document).ready(function(){literal}{{/literal}
	privatesquare_htmapl();
{literal}}{/literal});
</script>

{include file="inc_foot.txt"}
<commit_msg>copy; grammar<commit_after>{capture assign="page_title"}history{if $when} | {$when}{/if}{/capture}
{capture assign="extra_head"}
<script type="text/javascript" src="{$cfg.abs_root_url}javascript/htmapl-standalone.min.js"></script> 
{/capture}
{include file="inc_head.txt"}

{if $deleted_checkin}
<div id="status" style="display:block;margin-bottom:15px;">
{if $deleted_checkin_venue}
Pow! Your checkin at <a href="{$deleted_checkin_venue|@urls_venue}">{$deleted_checkin_venue.name|escape}</a> has been deleted.
{else}
Okee dookee, your checkin has been deleted.
{/if}

{if $mock_checkin and $mock_checkin.checkin_id}
<div style="font-size:11px;margin-top:10px;">Keep in mind that this checkin <em>it is still sitting somewhere on the foursquare servers</em>. That's because there is no way to delete checkins using the foursquare API. You will need to <a href="{$mock_checkin|@foursquare_urls_checkin}" target="_foursquare">log in to the foursquare website</a> and delete the checkin by hand. Awesome, yeah?</div>
{/if}

</div>
{/if}

<div id="displaymap" class="map"  data-extent="{$geo_stats.bounding_box|@join:","|escape}" data-hash="false" data-interactive="false" data-provider="toner">
{foreach from=$checkins item="row"}
	<div class="marker marker-header" data-location="{$row.latitude|escape},{$row.longitude|escape}"><span class="marker-history-text"></span></div>
{/foreach}
</div>

{if $when}
<h3 class="header-right">{$when|escape}</h3>
{/if}

{foreach from=$checkins item="row"}
{assign var="status_id" value=$row.status_id}

<div id="history" class="checkin" data-venue="{$row.venue_id|escape}">

	{* TO DO: make the actual checkin link a float-y thing *}

	<h3 class="header-left" style="margin-bottom:5px;">
		<a href="{$row.venue|@urls_venue}">{$row.venue.name|escape}</a>
		<span class="header-loc"><a href="{$owner|@urls_places_for_user}{$row.locality.locality|escape}/">{$row.locality.name|escape}</a></span>
	</h3>

	<div class="date" data-created="{$row.created|escape}">

		{if $status_id}
		<q>you said {$status_map.$status_id|escape}</q>
		{else}
		<a href="{$owner|@urls_history_for_user}{$row.created|date_format:"%Y-%m-%d"|escape}" style="text-decoration:none;color:#000;">{$row.created|date_format:"%A, %B %e, %Y"|escape}</a> at {$row.created|date_format:"%k:%M"|escape}
		{/if}
		{if $row.weather} {include file="inc_weather_stringify.txt" weather=$row.weather}{/if}
	</div>

	<div class="map" data-zoom="14" data-center="{$row.venue.latitude|escape},{$row.venue.longitude|escape}" data-hash="false" data-interactive="false" data-provider="toner">
		<div class="marker marker-history" data-location="{$row.venue.latitude|escape},{$row.venue.longitude|escape}"><span class="marker-history-text">{$row.venue.name|escape}</span></div>
	</div>

	<div class="permalink">
	<a href="{$row|@urls_checkin}">permalink&#160;&#160;◻</a>
	</div>
</div>

{/foreach}

{include file="inc_pagination.txt"}

{include file="inc_export_links.txt"}

<script type="text/javascript">
$(document).ready(function(){literal}{{/literal}
	privatesquare_htmapl();
{literal}}{/literal});
</script>

{include file="inc_foot.txt"}

{'fraction_non_alphanumeric': 0.20755320851336215, 'fraction_numerical': 0.0070411265802528405, 'mean_word_length': 7.434547908232119, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2959599', 'n_tokens_mistral': 2343, 'n_tokens_neox': 2270, 'n_words': 400}