msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2021-04-29 15:39+0200\n"
+"PO-Revision-Date: 2021-04-30 13:32+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pl\n"
msgid "Affects blackout."
msgstr "Dotyczy blackoutu."
-#: annoy/models.py:18
+#: annoy/models.py:17
+msgid "small font"
+msgstr "mały font"
+
+#: annoy/models.py:19
msgid "action label"
msgstr "etykieta akcji"
-#: annoy/models.py:20
+#: annoy/models.py:21
msgid "If empty, whole banner will serve as a link"
msgstr "Jeśli pusta, cały banner będzie służył jako link."
-#: annoy/models.py:22
+#: annoy/models.py:23
msgid "open label"
msgstr "etykieta otwierania"
-#: annoy/models.py:23
+#: annoy/models.py:24
msgid "close label"
msgstr "etykieta zamykania"
-#: annoy/models.py:24 annoy/models.py:103
+#: annoy/models.py:25 annoy/models.py:104
msgid "text"
msgstr "tekst"
-#: annoy/models.py:25
+#: annoy/models.py:26
msgid "image"
msgstr "obraz"
-#: annoy/models.py:26
+#: annoy/models.py:27
msgid "url"
msgstr "URL"
-#: annoy/models.py:28
+#: annoy/models.py:29
msgid "priority"
msgstr "priortytet"
-#: annoy/models.py:29
+#: annoy/models.py:30
msgid "Banners with higher priority come first."
msgstr "Bannery z wyższym priorytetem mają pierwszeństwo."
-#: annoy/models.py:30
+#: annoy/models.py:31
msgid "since"
msgstr "od"
-#: annoy/models.py:31
+#: annoy/models.py:32
msgid "until"
msgstr "do"
-#: annoy/models.py:32
+#: annoy/models.py:33
msgid "show members"
msgstr "widoczny dla członków klubu"
-#: annoy/models.py:33
+#: annoy/models.py:34
msgid "staff preview"
msgstr "podgląd tylko dla zespołu"
-#: annoy/models.py:36
+#: annoy/models.py:37
msgid "banner"
msgstr "banner"
-#: annoy/models.py:37
+#: annoy/models.py:38
msgid "banners"
msgstr "bannery"
-#: annoy/models.py:75
+#: annoy/models.py:76
msgid "pararaphs"
msgstr "akapity"
-#: annoy/models.py:79
+#: annoy/models.py:80
msgid "dynamic insert"
msgstr "dynamiczna wstawka"
-#: annoy/models.py:80
+#: annoy/models.py:81
msgid "dynamic inserts"
msgstr "dynamiczne wstawki"
--- /dev/null
+# Generated by Django 2.2.19 on 2021-04-30 11:31
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('annoy', '0009_banner_style'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='banner',
+ name='smallfont',
+ field=models.BooleanField(default=False, verbose_name='small font'),
+ ),
+ migrations.AlterField(
+ model_name='banner',
+ name='style',
+ field=models.CharField(blank=True, choices=[('blackout_full', 'Full screen'), ('blackout_upper', 'Upper half of screen')], help_text='Affects blackout.', max_length=255, verbose_name='style'),
+ ),
+ ]
choices=STYLES,
help_text=_('Affects blackout.')
)
+ smallfont = models.BooleanField(_('small font'), default=False)
action_label = models.CharField(
_('action label'),
max_length=255, blank=True,
padding: 0;
overflow: hidden;
+ &.banner-smallfont {
+ font-size: 13pt;
+ line-height: 22pt;
+ }
+
.annoy-banner-inner {
padding: 0 40% 0 15%;
height: 100%;
{{ banner.open_label }}
</a>
{% endif %}
- <div class="annoy-banner annoy-banner_{{ banner.place }} annoy-banner-style_{{ banner.style }}{% if banner.image %} with-image{% endif %}" id="annoy-banner-{{ banner.id }}">
+ <div class="
+ annoy-banner
+ annoy-banner_{{ banner.place }}
+ annoy-banner-style_{{ banner.style }}
+ {% if banner.image %}with-image{% endif %}
+ {% if banner.smallfont %}banner-smallfont{% endif %}
+ " id="annoy-banner-{{ banner.id }}">
{% if not banner.action_label %}
<a href="{{ banner.url }}">
{% endif %}