Skip to content
Snippets Groups Projects
Commit a49363ed authored by OndraRehounek's avatar OndraRehounek
Browse files

main: people page

parent d538f7b1
No related branches found
No related tags found
2 merge requests!607Pirati.cz,!575Feature/pirati cz
Pipeline #9390 passed
......@@ -174,7 +174,7 @@ Přes CRON je třeba na pozadí spouštět Django `manage.py` commandy:
* `publish_scheduled_pages` - publikuje naplánované stránky (každou hodinu)
* `update_callendars` - stáhne a aktualizuje kalendáře (několikrát denně)
* `update_redmine_issues` - aktualizuje programované body MS a KS stránek napojených na Redmine (několikrát denně)
* `update_tweets` - aktualizuje tweety z účtu PiratskaStrana (každou hodinu) - vyžaduje mít v .env TWITTER_BEARER_TOKEN
* `update_tweets` - aktualizuje tweety podle nastavení na Homepage pirati.cz - vyžaduje mít v .env TWITTER_BEARER_TOKEN, parametr --days určuje stáří tweetů (default 1)
### Fulltextové vyhledávání v češtině
......
<div class="flex mb-8 person-box-big max-w-md xl:max-w-xl flex-col xl:flex-row xl:mb-16">
<div class="shrink-0 mr-2">
<img
class="rounded-full shadow-sm w-30 xl:w-60 mb-2"
src="https://randomuser.me/api/portraits/women/26.jpg"
alt=" {{ name }}"
>
</div>
<div class="flex flex-col justify-between py-4">
<div class="flex flex-col mb-4">
<h4 class="font-bold mb-2 text-2xl xl:text-4xl">
{{ person_page.title }}
</h4>
<span class="leading-6 mb-6 w-10/12">
{{ person_page.position | default_if_none:'' }}
</span>
<span class="font-bold mb-1 text-grey-300">
{{ person_page.phone | default_if_none:'' }}
</span>
<span class="text-turquoise-500 underline">
{{ person_page.email | default_if_none:'' }}
</span>
</div>
<div>
{% include 'main/includes/button_animated.html' with btn_link=person_page.url btn_text="Zobrazit více" %}
</div>
</div>
</div>
......@@ -33,7 +33,9 @@
<div class="flex flex-wrap justify-center mb-12">
{% for people_group in page.people %}
<template v-if="isCurrentView('{{ people_group.value.slug }}')">
{{ people_group.value.title }}
{% for person_page in people_group.value.person_list %}
{% include 'main/includes/person_contact_big.html' %}
{% endfor %}
</template>
{% endfor %}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment