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