Skip to content
Snippets Groups Projects
Commit 06db45cb authored by Alexa Valentová's avatar Alexa Valentová
Browse files

better calendars, hooks, change text

parent 0a41e870
No related branches found
No related tags found
2 merge requests!1219Release,!1218better calendars, hooks, change text
Pipeline #20622 passed
......@@ -76,7 +76,8 @@ class Calendar(models.Model):
event_list = icalevents.events(
url=self.url,
start=now() - timedelta(days=30),
end=now() + timedelta(days=365), # Pull a year ahead due to "popular" demand.
end=now()
+ timedelta(days=365), # Pull a year ahead due to "popular" demand.
)
self.handle_event_list(event_list)
......
......@@ -13,9 +13,8 @@ from wagtail.images.blocks import ImageChooserBlock
from shared.blocks import CandidateBlock as SharedCandidateBlockMixin
from shared.blocks import CandidateListBlock
from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin
from shared.blocks import (
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin,
)
from shared.blocks import \
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin
from shared.blocks import (
CardLinkBlockMixin,
CardLinkWithHeadlineBlockMixin,
......@@ -28,9 +27,8 @@ from shared.blocks import (
ProgramGroupBlockMixin,
)
from shared.blocks import ProgramGroupBlockPopout as SharedProgramGroupBlockPopout
from shared.blocks import (
ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin,
)
from shared.blocks import \
ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin
from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin
from shared.blocks import StreamBlock, TeamBlockMixin
......
# Generated by Django 5.0.7 on 2025-02-04 08:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0143_alter_mainhomepage_popout_button_content'),
]
operations = [
migrations.AlterField(
model_name='maincareerpage',
name='employment_relationship',
field=models.CharField(help_text="Např. 'Rámcová smlouva na dobu určitou'", max_length=128, verbose_name='Typ smlouvy'),
),
]
......@@ -523,7 +523,7 @@ class MainCareerPage(
)
employment_relationship = models.CharField(
verbose_name="Poměr",
verbose_name="Typ smlouvy",
help_text="Např. 'Rámcová smlouva na dobu určitou'",
max_length=128,
blank=False,
......
......@@ -26,8 +26,8 @@
<strong>Zveřejněno</strong>: {{ page.created_date }}<br>
<strong>Přihlášky do</strong>: {{ page.submission_end_date }}<br>
<strong>Uzavírá se</strong>: {{ page.closing_date }}<br>
<strong>Plat</strong>: {{ page.pay_rate }}<br>
<strong>Poměr</strong>: {{ page.employment_relationship }}<br>
<strong>Odměna</strong>: {{ page.pay_rate }}<br>
<strong>Typ smlouvy</strong>: {{ page.employment_relationship }}<br>
<strong>Časová náročnost</strong>: {{ page.time_cost }}<br>
<strong>Místo výkonu práce</strong>: {{ page.location }}<br>
......
......@@ -8,8 +8,8 @@
<div class="text-xl p-4">
<strong>Časová náročnost</strong>: {{ career.time_cost }}<br>
<strong>Poměr</strong>: {{ career.employment_relationship }}<br>
<strong>Plat</strong>: {{ career.pay_rate }}<br>
<strong>Typ smlouvy</strong>: {{ career.employment_relationship }}<br>
<strong>Odměna</strong>: {{ career.pay_rate }}<br>
</div>
<div class="flex justify-between items-end">
......
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