Template pro zobrazení řešení přímo v tabulce
Snad, ještě jsem to netestoval :-)
This commit is contained in:
		
							parent
							
								
									96bc21a727
								
							
						
					
					
						commit
						ed5e7a1d9f
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -36,13 +36,13 @@ Do data (včetně): {{ filtr.reseni_do }} | |||
| 			{# TODO: Chceme mít view i na řešení konkrétního řešitele ke všem problémům? #} | ||||
| 			{{ resitel }} | ||||
| 		</td> | ||||
| 		{% for hodn in hodnoty %} | ||||
| 		{% for bunka in hodnoty %} | ||||
| 			<td> | ||||
| 			{% if hodn %} | ||||
| 			<a href="{% url 'odevzdavatko_reseni_resitele_k_problemu' problem=hodn.problem_id resitel=hodn.resitel_id %}"> | ||||
| 				{{ hodn.pocet_reseni }} řeš.<br>{{ hodn.body }} b<br>{{ hodn.posledni_odevzdani|kratke_datum|default_if_none:"Nikdy"|default:"???"}} | ||||
| 			{% for reseni in bunka %} | ||||
| 				<a href="{% url 'odevzdavatko_detail_reseni' pk=reseni.id %}"> | ||||
| 					{{reseni.datum_doruceni | date 'j. n.'}}({{ hodn.body }}b) | ||||
| 				</a> | ||||
| 			{% endif %} | ||||
| 			{% endfor %} | ||||
| 			</td> | ||||
| 		{% endfor %} | ||||
| 	</tr> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky