<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<span tal:omit-tag="" metal:fill-slot="breadcrumbs">
	&gt; <span tal:omit-tag="" i18n:translate="">course statistics</span>
</span>

<span tal:omit-tag="" metal:fill-slot="main_content_slot">
	<h2 i18n:translate="">Statistics</h2>
	<table border="0" cellpadding="2" cellspacing="1" bgcolor="#EEEEEE">
		<tr>
			<th i18n:translate="">User</th>
			<th i18n:translate="">Viewed</th>
			<th i18n:translate="">Posted</th>
			<th i18n:translate="">Read</th>
			<th i18n:translate="">Media files</th>
			<th i18n:translate="">Last access</th>
		</tr>
		<tr tal:repeat="user context/get_all_users">
			<td align="center" class="t1" tal:content="python:user.firstAndLast(user.get_uname())"></td>
			<td align="center" class="t1" tal:content="python:user.getSpecStat(request,'openPages',kursus)" />
			<td align="center" class="t1" tal:content="python:user.getSpecStat(request,'postedNotes',kursus)" />
			<td align="center" class="t1" tal:content="python:user.getSpecStat(request,'notesRead',kursus)" />
			<td align="center" class="t1" tal:content="python:user.getSpecStat(request,'postedArtefacts',kursus)" />
			<td align="center" class="t1" tal:content="python:user.getSpecStat(request,'lastAccess',kursus,format=1)" />
		</tr>
	</table>

</span>
  
</html>
