Browse Source

Zobrazovani e-mailu

+ chybejici zaviraci zavorka tagu
remotes/origin/vysl deploy-prod-2015-07-03-09-06-xlfd
Bc. Petr Pecha 10 years ago
parent
commit
808351fad0
  1. 6
      seminar/templates/seminar/cojemam/organizatori.html

6
seminar/templates/seminar/cojemam/organizatori.html

@ -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 == '@' %} &#60;zavináč&#62; {% elif znak == '.' %} &#60;tečka&#62; {% 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…
Cancel
Save