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}} |         <li>Studuje: {{org.studuje}} | ||||||
|       {% endif %} |       {% endif %} | ||||||
|       {% if org.user.email %} |       {% 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 %} |       {% endif %} | ||||||
|     </ul> |     </ul> | ||||||
|     {% if org.foto %} |     {% if org.foto %} | ||||||
|     <div class="foto_org"> |     <div class="foto_org"> | ||||||
|       <img src="{{org.foto.url}}" height="{{org.foto.height}}"> |       <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> |     </div> | ||||||
|     {% endif %} |     {% endif %} | ||||||
|     <hr> |     <hr> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha