From 7ace59bcaeea87191601a6b513f738a0f4d9b7cb Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 7 May 2021 18:44:20 +0200 Subject: news timeline --- locale/ar/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/cs/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/de/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/en/LC_MESSAGES/messages.po | 11 ++++++---- locale/es/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/fr/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/hi/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/hu/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/it/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/ja/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/ko/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/messages.pot | 10 ++++++--- locale/pt/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/pt_BR/LC_MESSAGES/messages.po | 13 ++++++++---- locale/ru/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/sv/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/tr/LC_MESSAGES/messages.po | 16 +++++++++++---- locale/zh_Hant/LC_MESSAGES/messages.po | 13 ++++++++---- static/styles.css | 37 ++++++++++++++++++++++++++++++++++ template/news/index.html.j2 | 19 ++++++++++------- 20 files changed, 249 insertions(+), 78 deletions(-) diff --git a/locale/ar/LC_MESSAGES/messages.po b/locale/ar/LC_MESSAGES/messages.po index d1dda549..aa3fe867 100644 --- a/locale/ar/LC_MESSAGES/messages.po +++ b/locale/ar/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-05-07 16:40+0200\n" +"POT-Creation-Date: 2021-05-07 18:32+0200\n" "PO-Revision-Date: 2021-03-27 17:24+0000\n" "Last-Translator: Maisa I \n" "Language-Team: Arabic \n" "Language-Team: Czech \n" "Language-Team: German \n" "Language-Team: en \n" @@ -1263,14 +1263,17 @@ msgid "Wallets for other browsers will be provided in the near future." msgstr "" #: template/news/index.html.j2:11 -msgid "" -"News posts about changes related to GNU Taler such as releases and events" +msgid "News posts about changes related to GNUnet such as releases and events" msgstr "" #: template/news/index.html.j2:16 msgid "subscribe to our RSS feed" msgstr "" -#: template/news/index.html.j2:33 +#: template/news/index.html.j2:36 msgid "read more" msgstr "" + +#: template/news/index.html.j2:45 +msgid "News archives:" +msgstr "" diff --git a/locale/es/LC_MESSAGES/messages.po b/locale/es/LC_MESSAGES/messages.po index 268e20e3..4326ac10 100644 --- a/locale/es/LC_MESSAGES/messages.po +++ b/locale/es/LC_MESSAGES/messages.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-05-07 16:40+0200\n" +"POT-Creation-Date: 2021-05-07 18:32+0200\n" "PO-Revision-Date: 2021-03-13 00:32+0000\n" "Last-Translator: Francesca Giusti \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Hindi \n" "Language-Team: Hungarian \n" "Language-Team: Italian \n" "Language-Team: Japanese \n" "Language-Team: Korean \n" "Language-Team: LANGUAGE \n" @@ -1280,14 +1280,18 @@ msgid "Wallets for other browsers will be provided in the near future." msgstr "" #: template/news/index.html.j2:11 -msgid "News posts about changes related to GNU Taler such as releases and events" +msgid "News posts about changes related to GNUnet such as releases and events" msgstr "" #: template/news/index.html.j2:16 msgid "subscribe to our RSS feed" msgstr "" -#: template/news/index.html.j2:33 +#: template/news/index.html.j2:36 msgid "read more" msgstr "" +#: template/news/index.html.j2:45 +msgid "News archives:" +msgstr "" + diff --git a/locale/pt/LC_MESSAGES/messages.po b/locale/pt/LC_MESSAGES/messages.po index 78747193..26c8110c 100644 --- a/locale/pt/LC_MESSAGES/messages.po +++ b/locale/pt/LC_MESSAGES/messages.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU taler master\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-05-07 16:40+0200\n" +"POT-Creation-Date: 2021-05-07 18:32+0200\n" "PO-Revision-Date: 2021-03-25 09:18+0000\n" "Last-Translator: Stefan \n" "Language-Team: Portuguese \n" "Language-Team: Portuguese (Brazil) \n" "Language-Team: Russian \n" "Language-Team: Swedish \n" "Language-Team: Turkish \n" "Language-Team: Chinese (Traditional) li { + margin: 20px 0; + padding-left: 20px; +} +ul.timeline > li:before { + content: ' '; + background: white; + display: inline-block; + position: absolute; + border-radius: 50%; + border: 3px solid #22c0e8; + left: 20px; + width: 20px; + height: 20px; + z-index: 400; +} diff --git a/template/news/index.html.j2 b/template/news/index.html.j2 index a678021b..eb9edd6c 100644 --- a/template/news/index.html.j2 +++ b/template/news/index.html.j2 @@ -10,7 +10,7 @@

{% trans %} News posts about changes related to - GNU Taler such as releases and events + GNUnet such as releases and events {% endtrans %} – {{ _("subscribe to our RSS feed") }} @@ -18,10 +18,13 @@ -

- {% for item in newsdata %} -
-
+
+ {% for year, yitem in newsdata|groupby('date.year')|reverse %} +

{{ year }}

+
    + {% for item in yitem %} +
  • +

    {{ item['title']|e }}

    @@ -29,11 +32,13 @@

    - {{ get_abstract(item['page'], 1000) }}
    + {{ get_abstract(item['page'], 500) }}
    [{{ _("read more") }}]

    -
+ + {% endfor %} + {% endfor %}
-- cgit v1.2.3