/
bar_person_contact.html
78 lines (72 loc) · 3.89 KB
/
bar_person_contact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<div class="o-section-block">
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
<li class="c-widget-accordion-item is-active" data-accordion-item="">
<a href="#" class="c-widget-accordion-link">
<span class="c-widget-accordion__title">Kontakty</span>
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom c-widget-accordion__icon--bottomPulled" aria-hidden="true">
<i class="fa fa-users fa-lg"></i>
</span>
</a>
<div class="c-widget-accordion-content" data-tab-content="">
<div class="c-widget-accordion-content-inner">
{% if page.data-version == 2 %}
{% if page.mail or page.mob %}
<h3>{{page.name}}</h3>
{% if page.mail %}
{% for l_mail in page.mail %}
<i class="fa fa-envelope-o"></i> <a href="mailto:{{ l_mail }}">{{ l_mail }}</a><br/>
{% endfor %}
{% endif %}
{% if page.mob %}<i class="fa fa-phone"></i> {{ page.mob }}<br/>{% endif %}
<hr />
{% endif %}
<h3>Odkazy</h3>
{% if page.profiles.web %}<i class="fa fa-globe"></i><a href="{{page.profiles.web}}">Webová stránka</a><br/>{% endif %}
{% if page.profiles.facebook %}<i class="fa fa-facebook"></i><a href="{{page.profiles.facebook}}">Facebook</a><br/>{% endif %}
{% if page.profiles.twitter %}<i class="fa fa-twitter"></i><a href="{{page.profiles.twitter}}">Twitter</a><br/>{% endif %}
{% if page.profiles.instagram %}<i class="fa fa-instagram"></i><a href="{{page.profiles.instagram}}">Instagram</a><br/>{% endif %}
{% if page.profiles.wikipedia %}<i class="fa fa-wikipedia-w"></i> <a href="{{ page.profiles.wikipedia }}">W: {{ page.profiles.wikipedia | remove: "https://cs.wikipedia.org/wiki/" }}</a><br/>{% endif %}
{% if page.profiles.report %}<i class="fa fa-file-text-o"></i> <a href="{{page.profiles.report}}">Report poslance</a><br/>{% endif %}
{% if page.asistenti %}
<hr />
<h3>Asistent/ka</h3>
{% for main in page.asistenti %}
<p>{% if main.description %}<i>{{main.description}}</i><br/>{%endif%}
<i class="fa fa-user-o"></i> {{main.name}}<br/>
{% if main.mail %}<i class="fa fa-envelope-o"></i> <a href="mailto:{{main.mail}}">{{main.mail}}</a><br/>{% endif %}
{% if main.tel %}<i class="fa fa-phone"></i> {{ main.tel }}<br/>{% endif %}
{% if main.mob %}<i class="fa fa-phone"></i> {{ main.mob }}<br/>{% endif %}
</p>
{% endfor %}
{% endif %}
{% if page.office %}
{% assign kancl = page.office | first %}
<hr />
<h3>Poslanecká kancelář</h3>
{{ kancl.address}}<br/>
{% if kancl.opening %}<br/><b>Otevírací doba:</b><br/>{{ kancl.opening}}<br/>{% endif %}
<br/><div class="c-widget-map">
<iframe
height="150"
frameborder="0" style="border:0; width:100%"
src="https://www.google.com/maps/embed/v1/place?key=AIzaSyCRuL_FU0HdeKCHVNfVJkv2nhNZPr05AJM&q={{ kancl.address | replace: ' ', '+' }}" allowfullscreen>
</iframe>
</div>
{% endif %}
{% else %}
{% if page.asistent %}
<i class="fa fa-user-o"></i> Asistent/ka: {{page.asistent.name}}<br/>
<i class="fa fa-envelope-o"></i> <a href="mailto:{{ page.asistent.mail}}">{{ page.asistent.mail}}</a><br/>
<i class="fa fa-phone"></i> {{ page.asistent.tel }}<br/>
<i class="fa fa-phone"></i> {{ page.asistent.mob }}<br/>
{% else %}
{% if page.mail %}<i class="fa fa-envelope-o"></i> <a href="mailto:{{ page.mail | first}}">{{ page.mail | first}}</a><br/>{% endif %}
{% if page.mob %}<i class="fa fa-phone"></i> {{ page.mob }}<br/>{% endif %}
{% endif %}
{% include right-bar/rbar_profiles.html %}
{% endif %}
</div>
</div>
</li>
</ul>
</div>