<!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="main_content_slot"
		tal:define="mpk python:context.gf.isFreshObject(request);
			     unread_notes python:context.get_n_unread_notes(str(user));
                             unseen_jams python:context.total_n_unseen_jams(request);
                             quote context/getQuote;
			     has_logo context/hasLogo;
                             logo_tag context/getLogoTag;
                             global use_right_box python:has_logo or quote or mpk or unread_notes or unseen_jams;
			     global blog context/Blog;
			     ">
	<span metal:use-macro="container/blog_macro/macros/blog">

	<span metal:fill-slot="right_box">
		<table width="100%" bgcolor="#EEEEEE" tal:condition="python: has_logo or quote">
			<thead>
				<tr>
					<th><a href="" tal:attributes="href string:${kursus/absolute_url}/gf/course_info" tal:content="kursus/get_name"></a></th>
				</tr>
			</thead>
			<tbody>
				<tr tal:condition="has_logo">
					<td class="t1" style="text-align:center"><a href="" tal:attributes="href string:${kursus/absolute_url}/gf/course_info" tal:content="structure logo_tag"></a></td>
				</tr>
				<tr tal:condition="quote">
					<td class="t1" style="text-align:center" tal:content="quote"></td>
				</tr>
			</tbody>
		</table>
		<br tal:condition="python:has_logo or quote" />
		<table width="100%" border="0" bgcolor="#EEEEEE" tal:condition="python:mpk or unread_notes or unseen_jams">
			<thead>
				<tr>
					<th i18n:translate="">new things</th>
				</tr>
			</thead>
			<tbody>
				<tr tal:condition="mpk">
					<td class="t1"><a href="gf/" i18n:translate="">Bookshelf</a></td>
				</tr>
				<tr tal:condition="unread_notes">
					<td class="t1">
						<a href="" tal:attributes="href string:${kursus/absolute_url}/course_html">
							<span tal:omit-tag="" i18n:translate="">Knowledge building has <span i18n:name="number" tal:replace="python:context.get_n_unread_notes(str(user))" /> unread messages!</span>
						</a>
					</td>
				</tr>
				<tr tal:condition="unseen_jams">
					<td class="t1"><a href="" tal:attributes="href string:${kursus/absolute_url}/jamming/jamming_index_html" i18n:translate="">Jamming has <span i18n:name="number" tal:content="python:context.total_n_unseen_jams(request)" /> unseen artefacts!</a></td>
				</tr>
			</tbody>
		</table>
		
		<!-- blog links -->
		<span metal:use-macro="container/blog_macro/macros/last_entries" />
		<span metal:use-macro="container/blog_macro/macros/entries_archive" />

	</span>
	<span metal:fill-slot="left_box">
		
		<span metal:use-macro="container/blog_macro/macros/add_entry_link" />
		<span metal:use-macro="container/blog_macro/macros/entries_list" />
	</span>
	</span>
</span>

</html>
