<commit_before>#parse("header.tpl")
#parse("menu.tpl")

		<div class="container">
			<div class="content">
				<h3>${course.name}</h3>
				<p>Managed by: ${course.owner.displayName} - ${course.owner.email}</p>
				<table class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th>Student projects</th>
						</tr>
					</thead>
					<tbody>
#foreach($project in $projects)
						<tr>
							<td>
								<a href="/project/${project.id}">${project.name}</a>
							</td>
						</tr>
#end
					</tbody>
				</table>
			</div>
		</div>

#parse("footer.tpl")<commit_msg>Make visibility of student projects in course page dependent on whether current user is admin.<commit_after>#parse("header.tpl")
#parse("menu.tpl")

<div class="container">
	<div class="content">
		<h3>${course.name}</h3>
		<p>Managed by: ${course.owner.displayName} - ${course.owner.email}</p>
		#if($currentUser.isAdmin)
		<table class="table table-striped table-bordered table-hover">
			<thead>
				<tr>
					<th>Student projects</th>
				</tr>
			</thead>
			<tbody>
				#foreach($project in $projects)
				<tr>
					<td><a href="/project/${project.id}">${project.name}</a></td>
				</tr>
				#end
			</tbody>
		</table>
		#end
	</div>
</div>

#parse("footer.tpl")
{'fraction_non_alphanumeric': 0.20757695343330704, 'fraction_numerical': 0.0031570639305445935, 'mean_word_length': 3.0641025641025643, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '5383002', 'n_tokens_mistral': 577, 'n_tokens_neox': 460, 'n_words': 89}