forked from kittv/web
1
0
Fork 0

Ikony u informací pracovníků

search
Emil Miler 4 years ago
parent da9ca3f7c9
commit e049828d57

@ -221,6 +221,20 @@ main {
a { font-weight: normal } a { font-weight: normal }
a:hover { text-decoration: underline } a:hover { text-decoration: underline }
} }
.mail, .tel, .cal {
display: flex;
align-items: center;
&::before {
font-family: icomoon;
font-size: 1.2em;
margin-right: .4em;
}
}
.mail::before { content: "\e90e" }
.tel::before { content: "\e913" }
.cal::before { content: "\e905" }
} }
.people-profile .info { .people-profile .info {

@ -157,12 +157,18 @@
{% macro profile_info(profile) %} {% macro profile_info(profile) %}
{% if profile.extra.email %} {% if profile.extra.email %}
<div><a href="mailto:{{ profile.extra.email }}">{{ profile.extra.email }}</a></div> <div class="mail">
<a href="mailto:{{ profile.extra.email }}">{{ profile.extra.email }}</a>
</div>
{% endif %} {% endif %}
{% if profile.extra.phone %} {% if profile.extra.phone %}
<div><a href="tel:{{ profile.extra.phone }}">{{ profile.extra.phone }}</a></div> <div class="tel">
<a href="tel:{{ profile.extra.phone }}">{{ profile.extra.phone }}</a>
</div>
{% endif %} {% endif %}
{% if profile.extra.sis %} {% if profile.extra.sis %}
<a href="https://is.cuni.cz/studium/rozvrhng/roz_ucitel_macro.php?fak=11410&ucitel={{ profile.extra.sis }}">Rozvrh</a> <div class="cal">
<a href="https://is.cuni.cz/studium/rozvrhng/roz_ucitel_macro.php?fak=11410&ucitel={{ profile.extra.sis }}">Rozvrh</a>
</div>
{% endif %} {% endif %}
{% endmacro %} {% endmacro %}

Loading…
Cancel
Save