Zobrazovani e-mailu
+ chybejici zaviraci zavorka tagu
This commit is contained in:
		
							parent
							
								
									93bc61607c
								
							
						
					
					
						commit
						808351fad0
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -26,13 +26,15 @@ | |||
|         <li>Studuje: {{org.studuje}} | ||||
|       {% endif %} | ||||
|       {% if org.user.email %} | ||||
|         <li>Pošta: {{org.user.email}} | ||||
|         <li>Pošta: | ||||
|         {# zobrazeni e-mailu (na jednom radku, aby nevznikali mezery navic) #} | ||||
|         {% for znak in org.user.email %}{% if znak == '@' %} <zavináč> {% elif znak == '.' %} <tečka> {% else %}{{znak}}{% endif %}{% endfor %} | ||||
|       {% endif %} | ||||
|     </ul> | ||||
|     {% if org.foto %} | ||||
|     <div class="foto_org"> | ||||
|       <img src="{{org.foto.url}}" height="{{org.foto.height}}"> | ||||
|       <img src="{{org.foto_male.url}}" height="{{org.foto_male.height}}" | ||||
|       <img src="{{org.foto_male.url}}" height="{{org.foto_male.height}}"> | ||||
|     </div> | ||||
|     {% endif %} | ||||
|     <hr> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha