<commit_before>{% extends '_pymchild.html' %}

{% block head_stuff %}
	{{ CSS.push('less/location.less') }}
	{{ CSS.render('css/rendered/location.min.css') }}
{% endblock %}

{% block body %}
	<a class="back" href="{{ S3_BASE_URL }}/table.html">&larr; back to list</a>
	<h1>{{ location.location_name }}</h1>
	{% if status %}
		<h2>status: {{status.color}}</h2>
		<p class="status-description">{{ status.status }}</p>
		<span class="last-updated">Last updated: {{ status.date }} {{ status.time }}
	{% endif %}
	<dl>
		<dt>Owner:</dt>
			<dd>{{location.location_owner }}</dd>
		<dt>Address: </dt>
			<dd><address>
				{{ location.address }}<br/>
				{{ location.city }}, {{ location.state }}, {{ location.zip|format_zip }}
			</address></dd>
		<dt>Phone: </dt>
			<dd>{{ location.phone }}</dd>

		{% if location.mpn %}
		<dt>Medicare Provider Number</dt>
			<dd>{{ location.mpn }}</dd>
		{% endif %}

	</dl>
{% endblock %}<commit_msg>Add past statuses to the per-location view<commit_after>{% extends '_pymchild.html' %}

{% block head_stuff %}
	{{ CSS.push('less/location.less') }}
	{{ CSS.render('css/rendered/location.min.css') }}
{% endblock %}

{% block body %}
	<a class="back" href="{{ S3_BASE_URL }}/table.html">&larr; back to list</a>
	<h1>{{ location.location_name }}</h1>
	{% if status %}
		<h2>status: {{status.color}}</h2>
		<p class="status-description">{{ status.status|urlize }}</p>
		<span class="last-updated">Last updated: {{ status.date }} {{ status.time }}
	{% endif %}
	<dl>
		<dt>Owner:</dt>
			<dd>{{location.location_owner }}</dd>
		<dt>Address: </dt>
			<dd><address>
				{{ location.address }}<br/>
				{{ location.city }}, {{ location.state }}, {{ location.zip|format_zip }}
			</address></dd>
		<dt>Phone: </dt>
			<dd>{{ location.phone }}</dd>

		{% if location.mpn %}
		<dt>Medicare Provider Number</dt>
			<dd>{{ location.mpn }}</dd>
		{% endif %}
	</dl>

	<h3>All previous status updates:</h3>
	<table>
		<thead>
			<tr>
			</tr>
		</thead>
		<tbody>
			{% for status in history %}
				<tr>
					<td>{{ status.date }}</td>
					<td>{{ status.time }}</td>
					<td>{{ status.color }}</td>
					<td>{{ status.status|urlize }}</td>
				</tr>
			{% endfor %}
		</tbody>
	</table>
{% endblock %}
{'fraction_non_alphanumeric': 0.24583520936515083, 'fraction_numerical': 0.005402971634398919, 'mean_word_length': 3.57201646090535, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '777841', 'n_tokens_mistral': 976, 'n_tokens_neox': 823, 'n_words': 165}