Skip to content
Snippets Groups Projects
Commit efe34bd3 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Show symbol legend and placeholder symbols for wishes in slides

Additionally, change slide ratio to 16:9
parent ee8617e0
No related branches found
No related tags found
1 merge request!87AK Slides
Pipeline #22362 passed
This commit is part of merge request !87. Comments created here will be created in the context of that merge request.
...@@ -2,7 +2,7 @@ msgid "" ...@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-29 22:48+0000\n" "POT-Creation-Date: 2021-05-08 18:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -11,7 +11,7 @@ msgstr "" ...@@ -11,7 +11,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: AKModel/admin.py:66 AKModel/admin.py:67 #: AKModel/admin.py:69 AKModel/admin.py:70
#: AKModel/templates/admin/AKModel/event_wizard/activate.html:32 #: AKModel/templates/admin/AKModel/event_wizard/activate.html:32
#: AKModel/templates/admin/AKModel/event_wizard/created_prepare_import.html:48 #: AKModel/templates/admin/AKModel/event_wizard/created_prepare_import.html:48
#: AKModel/templates/admin/AKModel/event_wizard/finish.html:21 #: AKModel/templates/admin/AKModel/event_wizard/finish.html:21
...@@ -21,23 +21,23 @@ msgstr "" ...@@ -21,23 +21,23 @@ msgstr ""
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
#: AKModel/admin.py:153 #: AKModel/admin.py:156
msgid "Wish" msgid "Wish"
msgstr "AK-Wunsch" msgstr "AK-Wunsch"
#: AKModel/admin.py:159 #: AKModel/admin.py:162
msgid "Is wish" msgid "Is wish"
msgstr "Ist ein Wunsch" msgstr "Ist ein Wunsch"
#: AKModel/admin.py:160 #: AKModel/admin.py:163
msgid "Is not a wish" msgid "Is not a wish"
msgstr "Ist kein Wunsch" msgstr "Ist kein Wunsch"
#: AKModel/admin.py:187 #: AKModel/admin.py:209
msgid "Export to wiki syntax" msgid "Export to wiki syntax"
msgstr "In Wiki-Syntax exportieren" msgstr "In Wiki-Syntax exportieren"
#: AKModel/admin.py:283 #: AKModel/admin.py:317
msgid "AK Details" msgid "AK Details"
msgstr "AK-Details" msgstr "AK-Details"
...@@ -170,7 +170,7 @@ msgstr "Zeitzone" ...@@ -170,7 +170,7 @@ msgstr "Zeitzone"
msgid "Time Zone where this event takes place in" msgid "Time Zone where this event takes place in"
msgstr "Zeitzone in der das Event stattfindet" msgstr "Zeitzone in der das Event stattfindet"
#: AKModel/models.py:25 AKModel/views.py:206 #: AKModel/models.py:25 AKModel/views.py:209
msgid "Start" msgid "Start"
msgstr "Start" msgstr "Start"
...@@ -430,7 +430,7 @@ msgstr "AK präsentieren" ...@@ -430,7 +430,7 @@ msgstr "AK präsentieren"
msgid "Present results of this AK" msgid "Present results of this AK"
msgstr "Die Ergebnisse dieses AKs vorstellen" msgstr "Die Ergebnisse dieses AKs vorstellen"
#: AKModel/models.py:218 AKModel/templates/admin/AKModel/status.html:85 #: AKModel/models.py:218 AKModel/templates/admin/AKModel/status.html:87
msgid "Requirements" msgid "Requirements"
msgstr "Anforderungen" msgstr "Anforderungen"
...@@ -485,7 +485,7 @@ msgstr "Anzahl Personen, die online Interesse bekundet haben" ...@@ -485,7 +485,7 @@ msgstr "Anzahl Personen, die online Interesse bekundet haben"
#: AKModel/models.py:240 AKModel/models.py:440 #: AKModel/models.py:240 AKModel/models.py:440
#: AKModel/templates/admin/AKModel/status.html:49 #: AKModel/templates/admin/AKModel/status.html:49
#: AKModel/templates/admin/AKModel/status.html:56 AKModel/views.py:194 #: AKModel/templates/admin/AKModel/status.html:56 AKModel/views.py:310
msgid "AKs" msgid "AKs"
msgstr "AKs" msgstr "AKs"
...@@ -761,7 +761,7 @@ msgid "Successfully imported.<br><br>Do you want to activate your event now?" ...@@ -761,7 +761,7 @@ msgid "Successfully imported.<br><br>Do you want to activate your event now?"
msgstr "Erfolgreich importiert.<br><br>Soll das Event jetzt aktiviert werden?" msgstr "Erfolgreich importiert.<br><br>Soll das Event jetzt aktiviert werden?"
#: AKModel/templates/admin/AKModel/event_wizard/activate.html:27 #: AKModel/templates/admin/AKModel/event_wizard/activate.html:27
#: AKModel/views.py:211 #: AKModel/views.py:214
msgid "Finish" msgid "Finish"
msgstr "Abschluss" msgstr "Abschluss"
...@@ -845,7 +845,7 @@ msgid "No AKs with this requirement" ...@@ -845,7 +845,7 @@ msgid "No AKs with this requirement"
msgstr "Kein AK mit dieser Anforderung" msgstr "Kein AK mit dieser Anforderung"
#: AKModel/templates/admin/AKModel/requirements_overview.html:45 #: AKModel/templates/admin/AKModel/requirements_overview.html:45
#: AKModel/templates/admin/AKModel/status.html:101 #: AKModel/templates/admin/AKModel/status.html:103
msgid "Add Requirement" msgid "Add Requirement"
msgstr "Anforderung hinzufügen" msgstr "Anforderung hinzufügen"
...@@ -898,23 +898,23 @@ msgstr "AKs als CSV exportieren" ...@@ -898,23 +898,23 @@ msgstr "AKs als CSV exportieren"
msgid "Export AKs for Wiki" msgid "Export AKs for Wiki"
msgstr "AKs im Wiki-Format exportieren" msgstr "AKs im Wiki-Format exportieren"
#: AKModel/templates/admin/AKModel/status.html:82 #: AKModel/templates/admin/AKModel/status.html:84
msgid "Export AK Slides" msgid "Export AK Slides"
msgstr "AK-Folien exportieren" msgstr "AK-Folien exportieren"
#: AKModel/templates/admin/AKModel/status.html:87 #: AKModel/templates/admin/AKModel/status.html:89
msgid "No requirements yet" msgid "No requirements yet"
msgstr "Bisher keine Anforderungen" msgstr "Bisher keine Anforderungen"
#: AKModel/templates/admin/AKModel/status.html:100 #: AKModel/templates/admin/AKModel/status.html:102
msgid "Show AKs for requirements" msgid "Show AKs for requirements"
msgstr "Zu Anforderungen gehörige AKs anzeigen" msgstr "Zu Anforderungen gehörige AKs anzeigen"
#: AKModel/templates/admin/AKModel/status.html:104 #: AKModel/templates/admin/AKModel/status.html:106
msgid "Messages" msgid "Messages"
msgstr "Nachrichten" msgstr "Nachrichten"
#: AKModel/templates/admin/AKModel/status.html:106 #: AKModel/templates/admin/AKModel/status.html:108
msgid "Delete all messages" msgid "Delete all messages"
msgstr "Alle Nachrichten löschen" msgstr "Alle Nachrichten löschen"
...@@ -922,58 +922,78 @@ msgstr "Alle Nachrichten löschen" ...@@ -922,58 +922,78 @@ msgstr "Alle Nachrichten löschen"
msgid "Active Events" msgid "Active Events"
msgstr "Aktive Events" msgstr "Aktive Events"
#: AKModel/views.py:136 #: AKModel/views.py:139
msgid "Event Status" msgid "Event Status"
msgstr "Eventstatus" msgstr "Eventstatus"
#: AKModel/views.py:149 #: AKModel/views.py:152
msgid "Requirements for Event" msgid "Requirements for Event"
msgstr "Anforderungen für das Event" msgstr "Anforderungen für das Event"
#: AKModel/views.py:163 #: AKModel/views.py:166
msgid "AK CSV Export" msgid "AK CSV Export"
msgstr "AK-CSV-Export" msgstr "AK-CSV-Export"
#: AKModel/views.py:177 #: AKModel/views.py:180
msgid "AK Wiki Export" msgid "AK Wiki Export"
msgstr "AK-Wiki-Export" msgstr "AK-Wiki-Export"
#: AKModel/views.py:197 #: AKModel/views.py:200
msgid "AK Orga Messages successfully deleted" msgid "AK Orga Messages successfully deleted"
msgstr "AK-Organachrichten erfolgreich gelöscht" msgstr "AK-Organachrichten erfolgreich gelöscht"
#: AKModel/views.py:195 #: AKModel/views.py:210
msgid "Wishes"
msgstr "Wünsche"
#: AKModel/views.py:207
msgid "Settings" msgid "Settings"
msgstr "Einstellungen" msgstr "Einstellungen"
#: AKModel/views.py:208 #: AKModel/views.py:211
msgid "Event created, Prepare Import" msgid "Event created, Prepare Import"
msgstr "Event angelegt, Import vorbereiten" msgstr "Event angelegt, Import vorbereiten"
#: AKModel/views.py:209 #: AKModel/views.py:212
msgid "Import categories & requirements" msgid "Import categories & requirements"
msgstr "Kategorien & Anforderungen kopieren" msgstr "Kategorien & Anforderungen kopieren"
#: AKModel/views.py:210 #: AKModel/views.py:213
#, fuzzy #, fuzzy
#| msgid "Active State" #| msgid "Active State"
msgid "Activate?" msgid "Activate?"
msgstr "Aktivieren?" msgstr "Aktivieren?"
#: AKModel/views.py:270 #: AKModel/views.py:271
#, python-format #, python-format
msgid "Copied '%(obj)s'" msgid "Copied '%(obj)s'"
msgstr "'%(obj)s' kopiert" msgstr "'%(obj)s' kopiert"
#: AKModel/views.py:272 #: AKModel/views.py:273
#, python-format #, python-format
msgid "Could not copy '%(obj)s' (%(error)s)" msgid "Could not copy '%(obj)s' (%(error)s)"
msgstr "'%(obj)s' konnte nicht kopiert werden (%(error)s)" msgstr "'%(obj)s' konnte nicht kopiert werden (%(error)s)"
#: AKModel/views.py:300
msgid "Symbols"
msgstr "Symbole"
#: AKModel/views.py:301
msgid "Who?"
msgstr "Wer?"
#: AKModel/views.py:302
msgid "Duration(s)"
msgstr "Dauer(n)"
#: AKModel/views.py:303
msgid "Reso intention?"
msgstr "Resolutionsabsicht?"
#: AKModel/views.py:304
msgid "Category (for Wishes)"
msgstr "Kategorie (für Wünsche)"
#: AKModel/views.py:311
msgid "Wishes"
msgstr "Wünsche"
#~ msgid "Confirm" #~ msgid "Confirm"
#~ msgstr "Bestätigen" #~ msgstr "Bestätigen"
......
\documentclass{beamer} \documentclass[aspectratio=169]{beamer}
\usetheme[numbering=fraction, progressbar=foot]{metropolis} \usetheme[numbering=fraction, progressbar=foot]{metropolis}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
...@@ -14,6 +14,19 @@ ...@@ -14,6 +14,19 @@
\maketitle \maketitle
\end{frame} \end{frame}
\begin{frame}
\frametitle{ {{- translations.symbols -}} }
\faUser~ {{ translations.who }}
\faClock~ {{ translations.duration }}
\faScroll~{{ translations.reso }}
\faFilter~ {{ translations.category }}
\end{frame}
{%for category in categories %} {%for category in categories %}
...@@ -49,7 +62,7 @@ ...@@ -49,7 +62,7 @@
{% endfor %} {% endfor %}
\section{ {{- wish_category_title -}} } \section{ {{- translations.wishes -}} }
{% for ak in wishes %} {% for ak in wishes %}
...@@ -62,6 +75,10 @@ ...@@ -62,6 +75,10 @@
\faFilter~ {{ ak.category.name | latex_escape_utf8 }} \faFilter~ {{ ak.category.name | latex_escape_utf8 }}
\faUser~
\faClock~
{{ ak.description | truncatechars(500) | latex_escape_utf8 }} {{ ak.description | truncatechars(500) | latex_escape_utf8 }}
\end{frame} \end{frame}
......
...@@ -296,12 +296,21 @@ def export_slides(request, event_slug): ...@@ -296,12 +296,21 @@ def export_slides(request, event_slug):
event = get_object_or_404(Event, slug=event_slug) event = get_object_or_404(Event, slug=event_slug)
translations = {
'symbols': _("Symbols"),
'who': _("Who?"),
'duration': _("Duration(s)"),
'reso': _("Reso intention?"),
'category': _("Category (for Wishes)"),
'wishes': _("Wishes"),
}
context = { context = {
'title': event.name, 'title': event.name,
'categories': event.akcategory_set.all(), 'categories': event.akcategory_set.all(),
'subtitle': _("AKs"), 'subtitle': _("AKs"),
'wish_category_title': _("Wishes"), "wishes": [ak for ak in event.ak_set.order_by('category') if ak.wish],
"wishes": [ak for ak in event.ak_set.order_by('category') if ak.wish] "translations": translations,
} }
return render_to_pdf(request, template_name, context, filename='slides.pdf') return render_to_pdf(request, template_name, context, filename='slides.pdf')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment