odmeny jsou pekny #90
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -18,7 +18,7 @@ | |||
| 
 | ||||
|   <ul> | ||||
|     {% for resitel in resitele %} | ||||
|       <li>{{ resitel.jmeno }}: {% if resitel.bodydiff > 3 %}🧦{% endif %}  {% if resitel.posilat %}POSÍLAT DOMŮ{% endif %} {% if resitel.ttitul != resitel.ftitul %} {{resitel.ftitul}} → {{resitel.ttitul}} {% endif %}</li> | ||||
|       <li {% if resitel.neposilame %}style="color: white; background-color: red;"{% endif %}>{{ resitel.jmeno }}: {% if resitel.bodydiff > 3 %}🧦{% endif %} {% if resitel.ttitul != resitel.ftitul %} {{resitel.ftitul}} → {{resitel.ttitul}} {% endif %}</li> | ||||
|     {% endfor %} | ||||
|  | ||||
|   </ul> | ||||
| 
 | ||||
|  |  | |||
|  | @ -385,7 +385,7 @@ class OdmenyView(generic.TemplateView): | |||
| 				ftitul = resitel.get_titul(fbody) | ||||
| 				ttitul = resitel.get_titul(tbody) | ||||
| 				if probody: | ||||
| 					outlist.append({'jmeno': resitel.osoba.plne_jmeno(), 'fbody': fbody, 'tbody': tbody, 'ftitul': ftitul, 'ttitul': ttitul, 'bodydiff': tbody - fbody, "posilat": resitel.zasilat_cislo_papirove}) | ||||
| 					outlist.append({'jmeno': resitel.osoba.plne_jmeno(), 'fbody': fbody, 'tbody': tbody, 'ftitul': ftitul, 'ttitul': ttitul, 'bodydiff': tbody - fbody, "neposilame": not(resitel.zasilat_cislo_papirove)}) | ||||
| 				else: | ||||
| 					if ftitul != ttitul: | ||||
| 						outlist.append({'jmeno': resitel.osoba.plne_jmeno(), 'ftitul': ftitul, 'ttitul': ttitul}) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	
CSS?
Ano, to je css