<commit_before><template name="profileHeader">
	<h1>{{formatName _id}} <small>Checkin' out your own profile</small></h1>
	<a href="#" class="btn btn-primary js-toggle-modal" data-toggle="changePassModal">Change Password</a>
	<button class="btn btn-primary" id="js-delete-account">Delete Account</button>
</template>

<template name="profile">
	{{> contentFor region="pageHeader" template="profileHeader"}}

	<ul class="list">
		<div class="post-header">
			<h3>Account Information</h3>
		</div>
		<div class="post-content">
			<li><strong>Name:</strong> {{profile.name}}</li>
			<li><strong>Email:</strong> {{formatEmail _id}}</li>
		</div>
		
		<div class="post-header">
			<h3>Club Stats</h3>
		</div>
		<div class="post-content">
			<li><strong>Events Log: </strong></li>
			<li>
				<div class="alert alert-info" style="max-height: 100px; overflow-y: auto;">
					<ul class="list">
					{{#if profile.events.length}}
						{{#each profile.events}}
							<li><strong>{{formatDate event.info.date}}</strong> - Attended <strong>"{{event.info.name}}"</strong> for {{hours}} hours. <strong>MIC:</strong> {{mic}}. <strong>Carpool:</strong> {{carpool}}.</li>
						{{/each}}
					{{else}}
						<li>You have not attended any events yet.</li>
					{{/if}}
					</ul>
				</div>
			</li>
			<li><strong>Points:</strong> {{profile.points}}</li>
			<li><strong>Meetings attended:</strong> {{profile.meetings}}</li>
			<li><strong>Member in Charge:</strong> {{profile.mic}} time(s)</li>
			<li><strong>Carpooled:</strong> {{profile.carpool}} time(s)</li>
			<li><strong>Strikes:</strong> {{profile.strikes}}</li>
			<li><strong>Suggested:</strong> {{profile.suggests}} event(s)</li>
			<li>
				<div class="alert alert-info" style="max-height: 100px; overflow-y: auto;">
					<ul class="list">
					{{#if suggested.count}}
						{{#each suggested}}
							<li>{{formatDate createdAt}} - {{name}} (Status: <strong>{{status}}</strong>)</li>
						{{/each}}
					{{else}}
						<li>You have not suggested any events yet. Go suggest one in the events page! (Now!)</li>
					{{/if}}
					</ul>
				</div>
			</li>
		</div>
	</ul>
</template><commit_msg>Style profile page<commit_after><template name="profileHeader">
	<h1>{{formatName _id}} <small>Checkin' out your own profile</small></h1>
	<a href="#" class="btn btn-primary js-toggle-modal" data-toggle="changePassModal">Change Password</a>
	<button class="btn btn-primary" id="js-delete-account">Delete Account</button>
</template>

<template name="profile">
	{{> contentFor region="pageHeader" template="profileHeader"}}

	<div class="page-body">
		<div class="list">
			<div class="list-item">
				<div class="list-item-header">
					<h3>Account Information</h3>
				</div>
				<div class="list-item-body">
					<ul class="list">
						<li class="list-item"><strong>Name:</strong> {{profile.name}}</li>
						<li class="list-item"><strong>Email:</strong> {{formatEmail _id}}</li>
					</ul>
				</div>
			</div>
			<div class="list-item">
				<div class="list-item-header">
					<h3>Club Stats</h3>
				</div>
				<div class="list-item-body">
					<ul class="list">
						<li class="list-item"><strong>Events Log:</strong></li>
						<li class="list-item">
							<div class="alert alert-info log">
								<ul class="list">
								{{#if profile.events.length}}
									{{#each profile.events}}
										<li class="list-item">
											<strong>{{formatDate event.info.date}}</strong> - Attended <strong>"{{event.info.name}}"</strong> for {{hours}} hours. <strong>MIC:</strong> {{mic}}. <strong>Carpool:</strong> {{carpool}}.
										</li>
									{{/each}}
								{{else}}
									<li>You have not attended any events yet.</li>
								{{/if}}
								</ul>
							</div>
						</li>
						<li class="list-item">
							<strong>Points:</strong> {{profile.points}}
						</li>
						<li class="list-item">
							<strong>Meetings attended:</strong> {{profile.meetings}}
						</li>
						<li class="list-item">
							<strong>Member in Charge:</strong> {{profile.mic}} time(s)
						</li>
						<li class="list-item">
							<strong>Carpooled:</strong> {{profile.carpool}} time(s)
						</li>
						<li class="list-item">
							<strong>Strikes:</strong> {{profile.strikes}}
						</li>
						<li class="list-item">
							<strong>Suggested:</strong> {{profile.suggests}} event(s)
						</li>
						<li class="list-item">
							<div class="alert alert-info log">
								<ul class="list">
								{{#if suggested.count}}
									{{#each suggested}}
										<li class="list-item">
											{{formatDate createdAt}} - {{name}} (Status: <strong>{{status}}</strong>)
										</li>
									{{/each}}
								{{else}}
									<li class="list-item">
										You have not suggested any events yet. Go suggest one in the events page! (Now!)
									</li>
								{{/if}}
								</ul>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</template>
{'fraction_non_alphanumeric': 0.21570616883116883, 'fraction_numerical': 0.0036525974025974025, 'mean_word_length': 3.0335515548281506, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 199, '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': '4605133', 'n_tokens_mistral': 2220, 'n_tokens_neox': 1623, 'n_words': 343}