notes_table.html 844 Bytes
<table class='ChangeControlTable' id='user-notes-table'>
    <tr> 
		<td class='ColumnHeader'>Data dodania:</td> 
		<td class='ColumnHeader'>Hasło:</td>
		<td class='ColumnHeader'>Słownik:</td>
		<td class='ColumnHeader'>Temat wiadomości:</td>
		<td class='ColumnHeader'>Nadawca:</td>
		{% if private %}
		{% else %}
		 <td class='ColumnHeader'>Nowa:</td>
		{% endif %}
    </tr>
	{% for note in notes %}
	<tr class='NotesTableRow' id='note_{{note.id}}' onclick="selectNote('note_{{note.id}}')"> 
		<td>{{note.time}}</td> 
		<td>{{note.lemma.entry}}</td>
		<td>{{note.lemma.vocabulary.name}}</td>
		<td>{{note.topic}}</td>
		<td>{{note.sender.username}}</td>
		{% if private %}
		{% else %}
		  {% if note.new %}
		    <td id='new'>TAK</td>
		  {% else %}
		    <td id='new'></td>
		  {% endif %}
		{% endif %}
	</tr>
	{% endfor %}
</table>