-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add page visibility side panel to information pages * Streamline minutes and information page sidebar layout * Also consider empty dates and authors in the sidebar panel * Rename toc-title to side-panel-title * Add warning as long as page is a draft * Adapt minutes list to changes
- Loading branch information
Showing
6 changed files
with
163 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% load core_extras %} | ||
{% load i18n %} | ||
|
||
{% if perms.wagtail.edit_page %} | ||
{% if page.has_unpublished_changes %} | ||
<aside class="side-panel border-accent toc-container d-print-none"> | ||
<h1 class="side-panel-warning">{% translate "Page has unpublished changes!" %}</h1> | ||
</aside> | ||
{% endif %} | ||
<aside class="side-panel border-accent toc-container d-print-none"> | ||
<h1 class="side-panel-title">{% translate "Visibility" %}</h1> | ||
{{ page.visible_for.all|join:", " }} | ||
</aside> | ||
{% endif %} | ||
<aside class="side-panel border-accent toc-container d-print-none"> | ||
<h1 class="side-panel-title">{% translate "Table of contents" %}</h1> | ||
{{ parsed_md.1 }} | ||
</aside> | ||
{% if page.attachments.all %} | ||
<aside class="side-panel border-accent toc-container d-print-none"> | ||
<h1 class="side-panel-title">{% translate "Attachments" %}</h1> | ||
<ul> | ||
{% for attachment in page.attachments.all %} | ||
<li> | ||
<a href="{{ attachment.url }}">{{ attachment.title }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</aside> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-12 19:24+0100\n" | ||
"POT-Creation-Date: 2024-02-13 11:43+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -18,120 +18,126 @@ msgstr "" | |
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
#: core/markdown/extensions.py:53 | ||
#: core/markdown/extensions.py:56 | ||
msgid "Begin of meeting" | ||
msgstr "Beginn des Meetings" | ||
|
||
#: core/markdown/extensions.py:56 | ||
#: core/markdown/extensions.py:59 | ||
msgid "End of meeting" | ||
msgstr "Ende des Meetings" | ||
|
||
#: core/markdown/extensions.py:70 | ||
#: core/markdown/extensions.py:73 | ||
#, python-brace-format | ||
msgid "*Meeting break: {time_start_break} – {time_end_break}*" | ||
msgstr "*Sitzungspause: {time_start_break} – {time_end_break}*" | ||
|
||
#: core/markdown/extensions.py:87 | ||
#: core/markdown/extensions.py:90 | ||
msgid "quorate" | ||
msgstr "beschlussfähig" | ||
|
||
#: core/markdown/extensions.py:87 | ||
#: core/markdown/extensions.py:90 | ||
msgid "not quorate" | ||
msgstr "nicht beschlussfähig" | ||
|
||
#: core/markdown/extensions.py:90 | ||
#: core/markdown/extensions.py:93 | ||
#, python-brace-format | ||
msgid "*{num_participants}/{max_num_participants} present → {quorate}* " | ||
msgstr "*{num_participants}/{max_num_participants} anwesend → {quorate}* " | ||
|
||
#: core/markdown/extensions.py:114 | ||
#: core/markdown/extensions.py:117 | ||
#, python-brace-format | ||
msgid "*{time}: {name} {event} the meeting* " | ||
msgstr "*{time}: {name} {event} das Meeting* " | ||
|
||
#: core/markdown/extensions.py:119 | ||
#: core/markdown/extensions.py:122 | ||
#, python-brace-format | ||
msgid "*{time}: {name} {event} the meeting via {mean_of_participation}* " | ||
msgstr "*{time}: {name} {event} das Meeting via {mean_of_participation}* " | ||
|
||
#: core/markdown/extensions.py:129 | ||
#: core/markdown/extensions.py:132 | ||
msgid "enters" | ||
msgstr "betritt" | ||
|
||
#: core/markdown/extensions.py:132 | ||
#: core/markdown/extensions.py:135 | ||
msgid "leaves" | ||
msgstr "verlässt" | ||
|
||
#: core/markdown/extensions.py:153 | ||
#: core/markdown/extensions.py:156 | ||
msgid "[missing link]" | ||
msgstr "[link fehlt]" | ||
|
||
#: core/templates/core/information_page.html:20 | ||
msgid "Last edited" | ||
msgstr "Zuletzt bearbeitet" | ||
|
||
#: core/templates/core/information_page.html:23 | ||
#: core/templates/core/information_page.html:22 | ||
msgid "A long time ago" | ||
msgstr "Vor langer Zeit" | ||
|
||
#: core/templates/core/information_page.html:26 | ||
#, python-format | ||
msgid "%(date)s at %(time)s" | ||
msgstr "%(date)s um %(time)s Uhr" | ||
|
||
#: core/templates/core/information_page.html:28 | ||
#: core/templates/core/information_page.html:32 | ||
msgid "by" | ||
msgstr "von" | ||
|
||
#: core/templates/core/information_page.html:33 | ||
#: core/templates/core/minutes.html:47 polls/templates/polls/poll.html:29 | ||
msgid "Table of contents" | ||
msgstr "Inhaltsverzeichnis" | ||
|
||
#: core/templates/core/information_page.html:38 | ||
#: core/templates/core/minutes.html:50 | ||
msgid "Attachments" | ||
msgstr "Anhänge" | ||
|
||
#: core/templates/core/minutes.html:17 | ||
#: core/templates/core/minutes.html:18 | ||
msgid "Date" | ||
msgstr "Datum" | ||
|
||
#: core/templates/core/minutes.html:19 | ||
#: core/templates/core/minutes.html:22 | ||
msgid "Moderator" | ||
msgstr "Sitzungsleitung" | ||
|
||
#: core/templates/core/minutes.html:21 | ||
#: core/templates/core/minutes.html:26 | ||
msgid "Minutes taker" | ||
msgstr "Protokollführung" | ||
|
||
#: core/templates/core/minutes.html:23 | ||
#: core/templates/core/minutes.html:30 | ||
msgid "Participants" | ||
msgstr "Teilnehmende" | ||
|
||
#: core/templates/core/minutes.html:29 | ||
#: core/templates/core/minutes.html:38 | ||
msgid "Guests" | ||
msgstr "Gäste" | ||
|
||
#: core/templates/core/minutes.html:37 | ||
#: core/templates/core/minutes.html:46 | ||
msgid "No guests" | ||
msgstr "Keine Gäste" | ||
|
||
#: core/templates/core/minutes.html:39 | ||
#: core/templates/core/minutes.html:50 | ||
msgid "Labels" | ||
msgstr "Labels" | ||
|
||
#: core/templates/core/minutes.html:45 | ||
#: core/templates/core/minutes.html:54 | ||
msgid "No labels" | ||
msgstr "Keine Labels" | ||
|
||
#: core/templates/core/minutes.html:65 | ||
#: core/templates/core/minutes.html:64 | ||
msgid "Previous minutes" | ||
msgstr "Vorheriges Protokoll" | ||
|
||
#: core/templates/core/minutes.html:71 | ||
#: core/templates/core/minutes.html:70 | ||
msgid "Next minutes" | ||
msgstr "Nächstes Protokoll" | ||
|
||
#: core/templates/core/minutes_list.html:15 | ||
msgid "Draft" | ||
msgstr "Entwurf" | ||
#: core/templates/core/minutes_list.html:15 core/templates/core/sidebar.html:7 | ||
msgid "Page has unpublished changes!" | ||
msgstr "Seite hat unveröffentlichte Änderungen!" | ||
|
||
#: core/templates/core/sidebar.html:11 | ||
msgid "Visibility" | ||
msgstr "Sichtbarkeit" | ||
|
||
#: core/templates/core/sidebar.html:16 polls/templates/polls/poll.html:29 | ||
msgid "Table of contents" | ||
msgstr "Inhaltsverzeichnis" | ||
|
||
#: core/templates/core/sidebar.html:21 | ||
msgid "Attachments" | ||
msgstr "Anhänge" | ||
|
||
#: polls/templates/polls/poll.html:17 | ||
msgid "You have already voted and the results are not yet visible." | ||
|
@@ -509,6 +515,9 @@ msgstr "{email} hat erfolgreich {list} verlassen." | |
msgid "The subscription of {email} onto {list} was rolled back." | ||
msgstr "Die Anmeldung von {email} auf {list} wurde rückgänig gemacht." | ||
|
||
#~ msgid "Draft" | ||
#~ msgstr "Entwurf" | ||
|
||
#, fuzzy | ||
#~| msgid "[missing link]" | ||
#~ msgid "[missing image]" | ||
|
Oops, something went wrong.